:: Re: [DNG] Everyone OK for using the…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: KatolaZ
Fecha:  
A: dng
Asunto: Re: [DNG] Everyone OK for using the logger program for runit logging?
On Mon, Oct 22, 2018 at 11:16:30AM +0200, Didier Kryn wrote:
> Le 21/10/2018 à 20:18, Steve Litt a écrit :
> > Hi all,
> >
> > With runit, you can either use the "runit way" of recording log files,
> > in which one looks in the daemon's run directory for something
> > called .main, or you can use one of several logging programs. I'm using
> > logger, and a Devuan ASCII VM guest I downloaded has the logger program
> > and I didn't install it.
> >
> > The logger program appears to put messages with the correct timestamp,
> > correct tag, and message, in the proper log file. This log file
> > was /var/log/messages for logins to ssh.
> >
> > I have to choose one method of doing logs for Devuan's daemon log run
> > scripts. Is doing it with the logger program OK with you?
> >
> > SteveT
>
>
>     syslog daemons are very convenient, rsyslogd, for example, features a
> lot of methods to dispatch/centralize logs on the LAN and perform several
> other actions. It is very usefull in an environment with several
> interoperating hosts. The pprinciple is to not write the log to a file but
> use the syslog mechanism (socket and lock) and let the syslog daemon (eg
> rsyslogd) manage the logs.
>
>         Didier


I would probably agree with Didier.

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]