From 2ca1b422530e0e1c3d354b2e95a82723fe3f7702 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 14 Oct 2010 01:27:31 +0200 Subject: [PATCH] shutdown: log to console by default --- src/shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shutdown.c b/src/shutdown.c index 176327bf..be3fff41 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -203,7 +203,7 @@ int main(int argc, char *argv[]) { bool need_umount = true, need_swapoff = true, need_loop_detach = true; log_parse_environment(); - log_set_target(LOG_TARGET_KMSG); /* syslog will die if not gone yet */ + log_set_target(LOG_TARGET_CONSOLE); /* syslog will die if not gone yet */ log_open(); if (getpid() != 1) { -- 2.39.5