How do most daemons do their logging these days. syslog or is there a newer logging facility that I'm not aware of? or custom?
The reason I ask is that I started using syslog but noticed most of the daemon pr开发者_如何转开发ocesses were not logging to the normal files and they are not configured in the syslog config files.
That leads me to believe they are doing their own thing.
Which is preferred? why are modern apps steering clear of syslog?
As far as I know, it is rsyslog. Did you set correctly?
Syslog is the standard way of logging messages. If you don't see your daemons messages, try to add this line to your syslogd configuration, reload the daemon then look at /var/log/all.log
:
*.* /var/log/all.log
精彩评论