[syslog-ng] Redirect syslog-ng to ttyS0

kjell.danielsen at hjemme.no kjell.danielsen at hjemme.no
Fri Oct 19 15:05:51 CEST 2007

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);  };

More information about the syslog-ng mailing list