开发者

How do most daemon applications do their logging in linux?

开发者 https://www.devze.com 2023-01-23 23:14 出处:网络
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?

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
0

精彩评论

暂无评论...
验证码 换一张
取 消