SPECS: snmptt.spec - add logs
Tomasz Pala
gotar at polanet.pl
Mon Jun 28 18:18:26 CEST 2004
It's the en list...
On Mon, Jun 28, 2004 at 17:30:49 +0200, Andrzej Krzysztofowicz wrote:
> > > > Są też różnice między syslog a syslog-ng.
> > >
> > > W sensie umiejscowienia logów czy czegoś innego?
> >
> > W domyślnej konfiguracji: które xxx.yyy idą do jakich plików.
>
> A jaki sens ma umieszczanie plikow logow w pakietach programow, ktore loguja
> via syslog?
> Bo o takich plikach chyba tu mowimy?
I'm not saying about files owners, but differences in logging itself:
1. syslog:
kern.* /var/log/kernel
*.info;mail.none;authpriv.none /var/log/messages
authpriv.* /var/log/secure
mail.* /var/log/maillog
*.emerg *
uucp,news.crit /var/log/spooler
daemon.alert /var/log/alert
2. syslog-ng: see syslog-ng.conf. There are e.g. daemon, debug and
syslog log files...
destination syslog { file("/var/log/syslog"); };
filter f_syslog { not facility(authpriv, cron, lpr, mail, news); };
log { source(src); filter(f_syslog); destination(syslog); };
So this:
# Syslog-ng configuration file, compatible with default PLD syslogd
# installation.
is not true.
--
GoTaR <priv0.onet.pl->gotar>
http://vfmg.sourceforge.net/
More information about the pld-devel-en
mailing list