summaryrefslogtreecommitdiffstats
path: root/src/update-utmp.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-12 05:09:06 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-12 05:09:06 +0100
commit4cfa2c999dea269ddc646bfeba6c7f1021a73843 (patch)
treef30287296cc7a7d2626e6079ad6f272f38fe79ec /src/update-utmp.c
parentunits: make sure syslog socket goes away early during shutdown (diff)
downloadsystemd-4cfa2c999dea269ddc646bfeba6c7f1021a73843.tar.xz
systemd-4cfa2c999dea269ddc646bfeba6c7f1021a73843.zip
core: switch all log targets to go directly to the journal, instead via syslog
Diffstat (limited to 'src/update-utmp.c')
-rw-r--r--src/update-utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update-utmp.c b/src/update-utmp.c
index 073f28e254..0d177d6164 100644
--- a/src/update-utmp.c
+++ b/src/update-utmp.c
@@ -369,7 +369,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
- log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
+ log_set_target(LOG_TARGET_AUTO);
log_parse_environment();
log_open();