diff options
author | yaworsky <yaworsky> | 2005-09-16 08:33:41 +0000 |
---|---|---|
committer | yaworsky <yaworsky> | 2005-09-16 08:33:41 +0000 |
commit | a2c534419863b2c09fd122d8d1ef6769398f7cf0 (patch) | |
tree | c58907db78a04c9d4fae9999651e1a7293cf38f1 /etc | |
parent | 7875bee3ddfd14f2128540609519306742a78dec (diff) | |
download | syslog-win32-a2c534419863b2c09fd122d8d1ef6769398f7cf0.tar.gz syslog-win32-a2c534419863b2c09fd122d8d1ef6769398f7cf0.tar.xz syslog-win32-a2c534419863b2c09fd122d8d1ef6769398f7cf0.zip |
Added to repository.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/syslog.conf | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf new file mode 100644 index 0000000..09b06ee --- /dev/null +++ b/etc/syslog.conf @@ -0,0 +1,253 @@ +<?xml version="1.0"?> + +<!-- +syslog.conf Configuration file for syslogd. + Based on Debian's syslog.conf. +--> + +<conf> + +<source name="src_udp" type="udp"/> + +<destination name="auth" file="auth.log" rotate="weekly" backlogs="4"/> +<destination name="syslog" file="syslog" rotate="weekly" backlogs="4"/> +<destination name="daemon" file="daemon.log" rotate="weekly" backlogs="4"/> +<destination name="kern" file="kern.log" rotate="weekly" backlogs="4"/> +<destination name="lpr" file="lpr.log" rotate="weekly" backlogs="4"/> +<destination name="mail" file="mail.log" rotate="weekly" backlogs="4"/> +<destination name="user" file="user.log" rotate="weekly" backlogs="4"/> +<destination name="uucp" file="uucp.log" rotate="weekly" backlogs="4"/> +<destination name="mail.info" file="mail.info" rotate="weekly" backlogs="4"/> +<destination name="mail.warn" file="mail.warn" rotate="weekly" backlogs="4"/> +<destination name="mail.err" file="mail.err" rotate="weekly" backlogs="4"/> +<destination name="news.crit" file="news/news.crit" rotate="weekly" backlogs="4"/> +<destination name="news.err" file="news/news.err" rotate="weekly" backlogs="4"/> +<destination name="news.notice" file="news/news.notice" rotate="weekly" backlogs="4"/> +<destination name="debug" file="debug" rotate="weekly" backlogs="4"/> +<destination name="messages" file="messages" rotate="weekly" backlogs="4"/> + +<filter name="auth"> + <facility name="auth"/> + <facility name="authpriv"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="syslog"> + <facility name="kern"/> + <facility name="user"/> + <facility name="mail"/> + <facility name="daemon"/> + <facility name="syslog"/> + <facility name="lpr"/> + <facility name="news"/> + <facility name="uucp"/> + <facility name="cron"/> + <facility name="ftp"/> + <facility name="local0"/> + <facility name="local1"/> + <facility name="local2"/> + <facility name="local3"/> + <facility name="local4"/> + <facility name="local5"/> + <facility name="local6"/> + <facility name="local7"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="daemon"> + <facility name="daemon"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="kern"> + <facility name="kern"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="lpr"> + <facility name="lpr"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="mail"> + <facility name="mail"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="user"> + <facility name="user"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="uucp"> + <facility name="uucp"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> + <priority name="debug"/> +</filter> + +<filter name="mail.info"> + <facility name="mail"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> +</filter> + +<filter name="mail.warn"> + <facility name="mail"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> +</filter> + +<filter name="mail.err"> + <facility name="mail"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> +</filter> + +<filter name="news.crit"> + <facility name="news"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> +</filter> + +<filter name="news.err"> + <facility name="news"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> +</filter> + +<filter name="news.notice"> + <facility name="news"/> + <priority name="emerg"/> + <priority name="alert"/> + <priority name="crit"/> + <priority name="error"/> + <priority name="warning"/> + <priority name="notice"/> +</filter> + +<filter name="debug"> + <facility name="kern"/> + <facility name="user"/> + <facility name="daemon"/> + <facility name="syslog"/> + <facility name="lpr"/> + <facility name="uucp"/> + <facility name="cron"/> + <facility name="ftp"/> + <facility name="local0"/> + <facility name="local1"/> + <facility name="local2"/> + <facility name="local3"/> + <facility name="local4"/> + <facility name="local5"/> + <facility name="local6"/> + <facility name="local7"/> + <priority name="debug"/> +</filter> + +<filter name="messages"> + <facility name="kern"/> + <facility name="user"/> + <facility name="syslog"/> + <facility name="lpr"/> + <facility name="uucp"/> + <facility name="ftp"/> + <facility name="local0"/> + <facility name="local1"/> + <facility name="local2"/> + <facility name="local3"/> + <facility name="local4"/> + <facility name="local5"/> + <facility name="local6"/> + <facility name="local7"/> + <priority name="warning"/> + <priority name="notice"/> + <priority name="info"/> +</filter> + +<logpath source="src_udp" filter="auth" destination="auth"/> +<logpath source="src_udp" filter="syslog" destination="syslog"/> +<logpath source="src_udp" filter="daemon" destination="daemon"/> +<logpath source="src_udp" filter="kern" destination="kern"/> +<logpath source="src_udp" filter="lpr" destination="lpr"/> +<logpath source="src_udp" filter="mail" destination="mail"/> +<logpath source="src_udp" filter="user" destination="user"/> +<logpath source="src_udp" filter="uucp" destination="uucp"/> +<logpath source="src_udp" filter="mail.info" destination="mail.info"/> +<logpath source="src_udp" filter="mail.warn" destination="mail.warn"/> +<logpath source="src_udp" filter="mail.err" destination="mail.err"/> +<logpath source="src_udp" filter="news.crit" destination="news.crit"/> +<logpath source="src_udp" filter="news.err" destination="news.err"/> +<logpath source="src_udp" filter="news.notice" destination="news.notice"/> +<logpath source="src_udp" filter="debug" destination="debug"/> +<logpath source="src_udp" filter="messages" destination="messages"/> + +<options logdir="log"/> |