]> err.no Git - systemd/commitdiff
journal: log journal internal messages to kmsg
authorLennart Poettering <lennart@poettering.net>
Tue, 22 May 2012 17:26:51 +0000 (19:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 May 2012 17:26:51 +0000 (19:26 +0200)
src/journal/journald.c

index 547c4ecc218e3935e65902d342ebb8d6eca69753..232457aa5b392dfbf77fd711379aef107b953d31 100644 (file)
@@ -2774,7 +2774,7 @@ int main(int argc, char *argv[]) {
                 return EXIT_FAILURE;
         }
 
-        log_set_target(LOG_TARGET_CONSOLE);
+        log_set_target(LOG_TARGET_KMSG);
         log_set_facility(LOG_SYSLOG);
         log_parse_environment();
         log_open();