]> code.ossystems Code Review - openembedded-core.git/commitdiff
sysklogd: removed tabs from syslog.conf
authorMihai Lindner <mihaix.lindner@linux.intel.com>
Fri, 10 Aug 2012 09:07:38 +0000 (12:07 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 13:25:50 +0000 (14:25 +0100)
Yocto #2926: syslog.conf should not have tabs within the selector field.
Removed tabs from the selector field of syslog rules. Tabs or spaces
should be used, in syslog.conf, only when separating selectors from
actions.

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/sysklogd/files/syslog.conf
meta/recipes-extended/sysklogd/sysklogd_1.5.bb

index 7d1858ca5bbd8db3c2eca3f690de9688d64eb350..0849de12687209470b300c8ac57b5bc0da928fd6 100644 (file)
@@ -34,12 +34,13 @@ news.notice                 -/var/log/news.notice
 # Some `catch-all' logfiles.
 #
 *.=debug;\
-       auth,authpriv.none;\
-       news.none;mail.none     -/var/log/debug
+auth,authpriv.none;\
+news.none;mail.none    -/var/log/debug
+
 *.=info;*.=notice;*.=warn;\
-       auth,authpriv.none;\
-       cron,daemon.none;\
-       mail,news.none          -/var/log/messages
+auth,authpriv.none;\
+cron,daemon.none;\
+mail,news.none         -/var/log/messages
 
 #
 # Emergencies are sent to everybody logged in.
@@ -51,9 +52,9 @@ news.notice                   -/var/log/news.notice
 # console I usually leave idle.
 #
 #daemon,mail.*;\
-#      news.=crit;news.=err;news.=notice;\
-#      *.=debug;*.=info;\
-#      *.=notice;*.=warn       /dev/tty8
+#news.=crit;news.=err;news.=notice;\
+#*.=debug;*.=info;\
+#*.=notice;*.=warn     /dev/tty8
 
 # The named pipe /dev/xconsole is for the `xconsole' utility.  To use it,
 # you must invoke `xconsole' with the `-file' option:
@@ -64,7 +65,7 @@ news.notice                   -/var/log/news.notice
 #      busy site..
 #
 daemon.*;mail.*;\
-       news.err;\
-       *.=debug;*.=info;\
-       *.=notice;*.=warn       |/dev/xconsole
+news.err;\
+*.=debug;*.=info;\
+*.=notice;*.=warn      |/dev/xconsole
 
index 471c8c85bfccfb5d6df28a1b6492524c234ef20d..5c9588945d2569bfe94dea15c1ac1440ca82c15c 100644 (file)
@@ -1,5 +1,5 @@
 require sysklogd.inc
-PR = "r6"
+PR = "r7"
 
 SRC_URI[md5sum] = "e053094e8103165f98ddafe828f6ae4b"
 SRC_URI[sha256sum] = "6169b8e91d29288e90404f01462b69e7f2afb1161aa419826fe4736c7f9eb773"