From: Lennart Poettering Date: Wed, 23 May 2012 01:50:53 +0000 (+0200) Subject: readahead: avoid activating the journal by accident, log directly to kmsg X-Git-Tag: v183~27 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e905f48fdc78fe3e4708aeb8515fc260eaf4eb6b;p=systemd readahead: avoid activating the journal by accident, log directly to kmsg --- diff --git a/src/readahead/readahead-collect.c b/src/readahead/readahead-collect.c index 359b97bf..1d56b110 100644 --- a/src/readahead/readahead-collect.c +++ b/src/readahead/readahead-collect.c @@ -683,7 +683,7 @@ int main(int argc, char *argv[]) { int r; const char *root; - log_set_target(LOG_TARGET_AUTO); + log_set_target(LOG_TARGET_SAFE); log_parse_environment(); log_open(); diff --git a/src/readahead/readahead-replay.c b/src/readahead/readahead-replay.c index 886e16f2..344dcd40 100644 --- a/src/readahead/readahead-replay.c +++ b/src/readahead/readahead-replay.c @@ -360,7 +360,7 @@ int main(int argc, char*argv[]) { int r; const char *root; - log_set_target(LOG_TARGET_AUTO); + log_set_target(LOG_TARGET_SAFE); log_parse_environment(); log_open();