[syslog-ng]Problem getting init logs
Thu, 8 May 2003 09:48:18 +0200
On Thu, May 08, 2003 at 12:09:22AM +0200, arthur.chereau wrote:
> I've installed syslog-ng and it is working fine. There's just one remaining problem I
> can't solve:
> I use monit, which is started from inittab. Logs go to the file I defined. But they
> also go to the console (tty1). I tried to remove all syslog-ng entries sending logs to
> 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.
> Is it possible for syslog-ng to intercept logs sent by init to the console ?
if they are kernel logs, then you need dmesg -n1 to stop the kernel to write
logs to the console. If they are init logs, and init definitely writes those
to the console then you have no way to intercept those logs.
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1