chiark / gitweb /
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 547c4ec..232457a 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();