[syslog-ng]Problem getting init logs

SZALAY Attila syslog-ng@lists.balabit.hu
Thu, 8 May 2003 08:00:07 +0200


Hi All!

On 2003 May 08, arthur.chereau wrote:
> 
> usertty (alert and emerg) and restart, but it didn't change anything. So the problem
> must be that init logs are different from other logs.

No, there are no differences. But if a program try to send a log message and /dev/log
is not opened by syslog daemon, the program send it to the console. You can try it, if
you stop syslog-ng and wait for log messages.

> Is it possible for syslog-ng to intercept logs sent by init to the console ?

Yes, if you start syslog-ng earlyer than the program.

In RedHat there are a tiny syslog daemon, that doesn't do anything except collecting
log messages till real syslog daemon doesn't start.

-- 
PGP ID 0x8D143771, /C5 95 43 F8 6F 19 E8 29  53 5E 96 61 05 63 42 D0
GPG ID   ABA0E8B2, 45CF B559 8281 8091 8469  CACD DB71 AEFC ABA0 E8B2

                          Szeretem a Zsanit - SaSa