:: Re: [DNG] Everyone OK for using the…
Kezdőlap
Delete this message
Reply to this message
Szerző: Steve Litt
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] Everyone OK for using the logger program for runit logging?
On Wed, 24 Oct 2018 11:42:36 +0200
Didier Kryn <kryn@???> wrote:


>     I can't see how to do better than logger. The only limitation is
> inherent to the very principle of redirecting stderr: the level is
> the same for all messages because it is passed in the logger command
> line. Instead, a daemon invoking syslog() is able to issue messages
> with various levels, which makes a lot more sense.


Yes!

We always hope that the daemon author puts in hiser own syslog()
calls, but incase heshe doesn't, logger can catch the stderr.

SteveT

Steve Litt
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz