# sources
# all known message sources
-source a_local {
+source s_local {
# message generated by Syslog-NG
internal();
<%- if kernel == 'Linux' -%>
# auth,authpriv.* /var/log/auth.log
log {
- source(a_local);
+ source(s_local);
filter(f_auth);
destination(df_auth);
};
# *.*;auth,authpriv.none -/var/log/syslog
log {
- source(a_local);
+ source(s_local);
filter(f_syslog);
destination(df_syslog);
};
# this is commented out in the default syslog.conf
# cron.* /var/log/cron.log
#log {
-# source(a_local);
+# source(s_local);
# filter(f_cron);
# destination(df_cron);
#};
# daemon.* -/var/log/daemon.log
log {
- source(a_local);
+ source(s_local);
filter(f_daemon);
destination(df_daemon);
};
# kern.* -/var/log/kern.log
log {
- source(a_local);
+ source(s_local);
filter(f_kern);
destination(df_kern);
};
# lpr.* -/var/log/lpr.log
log {
- source(a_local);
+ source(s_local);
filter(f_lpr);
destination(df_lpr);
};
# mail.* -/var/log/mail.log
log {
- source(a_local);
+ source(s_local);
filter(f_mail);
destination(df_mail);
};
# user.* -/var/log/user.log
log {
- source(a_local);
+ source(s_local);
filter(f_user);
destination(df_user);
};
# uucp.* /var/log/uucp.log
log {
- source(a_local);
+ source(s_local);
filter(f_uucp);
destination(df_uucp);
};
# mail.info -/var/log/mail.info
log {
- source(a_local);
+ source(s_local);
filter(f_mail);
filter(f_at_least_info);
destination(df_mail_info);
# mail.warn -/var/log/mail.warn
log {
- source(a_local);
+ source(s_local);
filter(f_mail);
filter(f_at_least_warn);
destination(df_mail_warn);
# mail.err /var/log/mail.err
log {
- source(a_local);
+ source(s_local);
filter(f_mail);
filter(f_at_least_err);
destination(df_mail_err);
# news.crit /var/log/news/news.crit
log {
- source(a_local);
+ source(s_local);
filter(f_news);
filter(f_at_least_crit);
destination(df_news_dot_crit);
# news.err /var/log/news/news.err
log {
- source(a_local);
+ source(s_local);
filter(f_news);
filter(f_at_least_err);
destination(df_news_dot_err);
# news.notice /var/log/news/news.notice
log {
- source(a_local);
+ source(s_local);
filter(f_news);
filter(f_at_least_notice);
destination(df_news_dot_notice);
# auth,authpriv.none;\
# news.none;mail.none -/var/log/debug
log {
- source(a_local);
+ source(s_local);
filter(f_debug);
destination(df_debug);
};
# cron,daemon.none;\
# mail,news.none -/var/log/messages
log {
- source(a_local);
+ source(s_local);
filter(f_messages);
destination(df_messages);
};
# *.emerg *
log {
- source(a_local);
+ source(s_local);
filter(f_emerg);
destination(du_all);
};
# *.=debug;*.=info;\
# *.=notice;*.=warn |/dev/xconsole
log {
- source(a_local);
+ source(s_local);
filter(f_xconsole);
destination(dp_xconsole);
};
log {
- source(a_local);
+ source(s_local);
destination(loghost-heininen);
};
<%- end -%>