hookenz
hookenz

Reputation: 38897

How do most daemon applications do their logging in linux?

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 processes 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?

Upvotes: 0

Views: 578

Answers (2)

Philippe
Philippe

Reputation: 1226

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

Upvotes: 0

BЈовић
BЈовић

Reputation: 64223

As far as I know, it is rsyslog. Did you set correctly?

Upvotes: 2

Related Questions