]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Added kernel.log to syslog-ng.
authorChristian Schmidt <maniacikarus@ipfire.org>
Sat, 15 Aug 2009 14:42:47 +0000 (16:42 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Sat, 15 Aug 2009 14:42:47 +0000 (16:42 +0200)
config/syslog-ng/syslog-ng.conf

index 6007991b34a87b21a36cdd49d9dbbc6386c1e34f..a951f2649472b46bfa8f1cb04461492f167f6331 100644 (file)
@@ -45,6 +45,9 @@ destination messages {
 destination boot {
        file("/var/log/boot.log");
        };
+destination kernel {
+       file("/var/log/kernel.log);
+       };
 destination console {
        usertty("root");
        };
@@ -115,3 +118,8 @@ log {
        filter(f_ssh);
        destination(ids);
        };
+log {
+       source(sys);
+       filter(f_kern);
+       destination(kernel);
+       };