diff --git a/.gitignore b/.gitignore index 36345c7..959e704 100644 --- a/.gitignore +++ b/.gitignore @@ -295,6 +295,6 @@ tags # Persistent undo [._]*.un~ -/test-results +/test-results/ /.idea/workspace.xml /.idea/tasks.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 87f2df8..92749e9 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,4 +7,4 @@ - \ No newline at end of file + diff --git a/package/etc/syslog-ng.conf b/package/etc/syslog-ng.conf index 68c8b17..be2e87a 100755 --- a/package/etc/syslog-ng.conf +++ b/package/etc/syslog-ng.conf @@ -40,48 +40,3 @@ source s_sys { internal(); }; -# =============================================================================================== -# Local System destinations -# =============================================================================================== - -destination d_cons { file("/dev/console"); }; -destination d_mesg { file("/var/log/syslog-ng/messages"); }; -destination d_auth { file("/dev/shm/secure"); }; -destination d_mail { file("/dev/shm/maillog" flush_lines(10)); }; -destination d_spol { file("/dev/shm/spooler"); }; -destination d_boot { file("/dev/shm/boot.log"); }; -destination d_cron { file("/dev/shm/cron"); }; -destination d_kern { file("/dev/shm/kern"); }; -destination d_mlal { usertty("*"); }; -destination d_syslog { file("/var/log/syslog"); }; - -# =============================================================================================== -# Local System filters -# =============================================================================================== - -filter f_kernel { facility(kern); }; -filter f_default { level(info..emerg) and - not (facility(mail) - or facility(authpriv) - or facility(cron)); }; -filter f_auth { facility(authpriv); }; -filter f_mail { facility(mail); }; -filter f_emergency { level(emerg); }; -filter f_news { facility(uucp) or - (facility(news) - and level(crit..emerg)); }; -filter f_boot { facility(local7); }; -filter f_cron { facility(cron); }; - -# =============================================================================================== -# Local System Logging -# =============================================================================================== - -log { source(s_sys); filter(f_kernel); destination(d_kern); }; -log { source(s_sys); filter(f_default); destination(d_mesg); }; -log { source(s_sys); filter(f_auth); destination(d_auth); }; -log { source(s_sys); filter(f_mail); destination(d_mail); }; -log { source(s_sys); filter(f_emergency); destination(d_mlal); }; -log { source(s_sys); filter(f_news); destination(d_spol); }; -log { source(s_sys); filter(f_boot); destination(d_boot); }; -log { source(s_sys); filter(f_cron); destination(d_cron); };