Gergely,<br><br>sorry after fighting with this for hours i forgot to upload.<br><br>@version: 3.0<br>#<br># Syslog-ng example configuration for for Debian GNU/Linux<br>#<br># Copyright (c) 1999 anonymous<br># Copyright (c) 1999 Balazs Scheidler<br>
# $Id: syslog-ng.conf.sample,v 1.3 2003/05/20 08:57:27 asd Exp $<br>#<br># Syslog-ng configuration file, compatible with default Debian syslogd<br># installation. <br>#<br><br><br># replaced with Line below fxs options { long_hostnames(off); sync(0); };<br>
options { long_hostnames(off); flush_lines(0); };<br><br>source src { unix-stream("/var/run/syslog"); internal(); };<br>source net { udp(); };<br><br>destination authlog { file("/var/log/auth.log"); };<br>
# replaced with Line below fxs destination syslog { file("/var/log/syslog"); };<br>destination d_syslog { file(“/var/log/system.log”); };<br>destination cron { file("/var/log/cron.log"); };<br>destination daemon { file("/var/log/daemon.log"); };<br>
destination kern { file("/var/log/kern.log"); };<br>destination lpr { file("/var/log/lpr.log"); };<br>destination user { file("/var/log/user.log"); };<br>destination uucp { file("/var/log/uucp.log"); };<br>
destination ppp { file("/var/log/ppp.log"); };<br>destination mail { file("/var/log/mail.log"); };<br><br>destination mailinfo { file("/var/log/<a href="http://mail.info">mail.info</a>"); };<br>
destination mailwarn { file("/var/log/mail.warn"); };<br>destination mailerr { file("/var/log/mail.err"); };<br><br>destination newscrit { file("/var/log/news/news.crit"); };<br>destination newserr { file("/var/log/news/news.err"); };<br>
destination newsnotice { file("/var/log/news/news.notice"); };<br><br>destination debug { file("/var/log/debug"); };<br>destination messages { file("/var/log/messages"); };<br>destination console { usertty("root"); };<br>
#destination console_all { file("/dev/tty12"); };<br>destination console_all { file(“/dev/console”); };<br>#destination loghost { udp("loghost" port(999)); };<br><br><br>destination xconsole { pipe("/dev/xconsole"); };<br>
<br>filter f_auth { facility(auth); };<br>filter f_authpriv { facility(auth, authpriv); };<br>#Changed it to make it filter the messages from the localO fxs filter f_syslog { not facility(authpriv, mail); };<br>filter f_syslog { facility(local0); };<br>
filter f_cron { facility(cron); };<br>filter f_daemon { facility(daemon); };<br>filter f_kern { facility(kern); };<br>filter f_lpr { facility(lpr); };<br>filter f_mail { facility(mail); };<br>filter f_user { facility(user); };<br>
filter f_uucp { facility(cron); };<br>filter f_ppp { facility(local2); };<br>filter f_news { facility(news); };<br>filter f_debug { not facility(auth, authpriv, news, mail); };<br>filter f_messages { level(info..warn) <br>
and not facility(auth, authpriv, mail, news); };<br>filter f_emergency { level(emerg); };<br><br>filter f_info { level(info); };<br>filter f_notice { level(notice); };<br>filter f_warn { level(warn); };<br>filter f_crit { level(crit); };<br>
filter f_err { level(err); };<br><br>log { source(src); filter(f_authpriv); destination(authlog); };<br># replaced with Line below fxs log { source(src); filter(f_syslog); destination(syslog); };<br>log { source(src); filter(f_syslog); destination(d_syslog); };<br>
log { source(src); filter(f_cron); destination(cron); };<br>log { source(src); filter(f_daemon); destination(daemon); };<br>log { source(src); filter(f_kern); destination(kern); };<br>log { source(src); filter(f_lpr); destination(lpr); };<br>
log { source(src); filter(f_mail); destination(mail); };<br>log { source(src); filter(f_user); destination(user); };<br>log { source(src); filter(f_uucp); destination(uucp); };<br>log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };<br>
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };<br>log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };<br>log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };<br>
log { source(src); filter(f_news); filter(f_err); destination(newserr); };<br>log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };<br>log { source(src); filter(f_debug); destination(debug); };<br>
log { source(src); filter(f_messages); destination(messages); };<br>log { source(src); filter(f_emergency); destination(console); };<br>log { source(src); filter(f_ppp); destination(ppp); };<br>log { source(src); destination(console_all); };<br>
<br><br><br>