[syslog-ng] Redirect syslog-ng to ttyS0

Balazs Scheidler bazsi at balabit.hu
Tue Oct 23 18:31:24 CEST 2007


On Fri, 2007-10-19 at 14:56 +0100, Alexander Clouter wrote:
> Hi,
> 
> kjell.danielsen at hjemme.no <kjell.danielsen at hjemme.no> [20071019 15:05:51 +0200]:
> >
> > Have redirected syslog to ttyS0. The logging to ttyS0 stops when I
> > login to ttyS0 (as a terminal). Have to restart syslog to start
> > the logging again. From my /etc/syslog-ng/syslog-ng.conf:
> > 
> > filter f_mxone     { facility(local4, local5, local6, auth) and match(“Alarm”);  }
> > destination mx_com1 {file(/dev/ttyS0);  };
> > log  { source(src); filter(f_mxone); destination(mx_com1);  };
> > 
> > From /etc/inittab :
> > 
> > S0:2345:respawn:/sbin/agetty -L 9600 ttyS0 vt102
> > 

Hmm.. can you strace syslog-ng to see what happens when you log in?


-- 
Bazsi



More information about the syslog-ng mailing list