aboutsummaryrefslogblamecommitdiffstats
path: root/etc/syslog.conf
blob: 09b06ee63257c9c8e9de5bc3ecd6eab13a60f1fb (plain) (tree)




























































































































































































































































                                                                                      
<?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"/>