]> git.pld-linux.org Git - packages/sysklogd.git/commitdiff
- cleaned up, non-duplicating, consistent configuration
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 27 Feb 2006 18:07:19 +0000 (18:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- be aware you may find very little in /var/log/messages now

Changed files:
    sysklogd.spec -> 1.113
    syslog.conf -> 1.11

sysklogd.spec
syslog.conf

index bcc9fd4af07690963767c565603be3336b3632e7..b46c40b3ffe24ddaa28e5a8c3d084fb158c67a8b 100644 (file)
@@ -9,7 +9,7 @@ Summary(pt_BR): Registrador de log do sistema linux
 Summary(tr):   Linux sistem ve çekirdek kayýt süreci
 Name:          sysklogd
 Version:       1.4.1
-Release:       19
+Release:       19.1
 License:       GPL
 Group:         Daemons
 Source0:       http://www.ibiblio.org/pub/Linux/system/daemons/%{name}-%{version}.tar.gz
index b36f99b3e6d08cf93ef54b2258f59e78903c1d79..c4765d72c7bed884ad38cb051ce303521e6fe261 100644 (file)
@@ -1,5 +1,5 @@
-# Log all kernel messages.
-kern.*                                                 /var/log/kernel
+# Network logging to loghost
+#*.*                                                   @loghost
 
 # Everybody gets emergency messages.
 *.=emerg                                               *
@@ -7,37 +7,46 @@ kern.*                                                        /var/log/kernel
 # The authpriv file has restricted access.
 auth,authpriv.*                                                /var/log/secure
 
-# Save alerts reported by daemons.
-*.=alert;*.=crit;*.=err                                        /var/log/alert
+# Cron entry
+cron.*                                                 /var/log/cron
 
-# Log debug messages.
-*.=debug                                               -/var/log/debug
+daemon.*                                               /var/log/daemon
 
-local6.*                                               -/var/log/freshclam.log
+ftp.*                                                  -/var/log/xferlog
+
+# Log all kernel messages.
+kern.*                                                 /var/log/kernel
+
+lpr.*                                                  -/var/log/lpr
 
 # Log all mail messages in one place.
 mail.*                                                 -/var/log/maillog
 
 # Log all news messages in one place.
-news.*                                                 -/var/log/news.log
+news.=crit                                             -/var/log/news.crit
+news.=err                                              -/var/log/news.err
+news.notice                                            -/var/log/news.notice
 
-# Log all (except mail/news) info/notice messages.
-# Don't log private authentication messages!
-*.=info;*.=notice;\
-    auth,authpriv,local6,mail,news.none                        -/var/log/messages
+syslog.*                                               -/var/log/syslog
 
-# Log all (except mail/news) warning messages.
-# Don't log private authentication messages!
-*.=warn;\
-    auth,authpriv,local6,mail,news.none                        -/var/log/syslog
+user.*                                                 -/var/log/user
+
+uucp.*;news.=crit                                      -/var/log/spooler
+
+# Log debug messages.
+*.=debug                                               -/var/log/debug
+
+# The following two suck, but syklogd sucks at configurability
+# If you want it The Right Way(TM) use syslog-ng
+local0.*                                               -/var/log/pgsql
+local6.*                                               -/var/log/freshclam.log
+
+# Log all other messages.
+*.!=debug;\
+       auth,authpriv,cron,daemon,ftp,kern,lpr,mail,news,syslog,user,uucp.none                  -/var/log/messages
 
 # All logs on tty12
 #*.*                                                   /dev/tty12
 
 # Log all kernel messages to the console.
 #kern.*                                                        /dev/console
-ftp.*                                                  /var/log/xferlog
-
-# Cron entry:
-cron.*                                                 /var/log/cron
This page took 0.095777 seconds and 4 git commands to generate.