summaryrefslogtreecommitdiff
path: root/src/journal/journald.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-22 19:26:51 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-22 19:26:51 +0200
commit5ad661b6b05698f8cdb62c1191195b07c68db0f6 (patch)
tree233fed0951a5a657d6f492ec41b878f6f0a594ce /src/journal/journald.c
parente6a2674500dd4fa0b5eaa93ab77502ba14688c08 (diff)
journal: log journal internal messages to kmsg
Diffstat (limited to 'src/journal/journald.c')
-rw-r--r--src/journal/journald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 547c4ecc21..232457aa5b 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -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();