summaryrefslogtreecommitdiff
path: root/src/readahead
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/readahead
parentead51eb4ed55981f290e40a871ffbca6480c4cd3 (diff)
core: switch all log targets to go directly to the journal, instead via syslog
Diffstat (limited to 'src/readahead')
-rw-r--r--src/readahead/readahead-collect.c2
-rw-r--r--src/readahead/readahead-replay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/readahead/readahead-collect.c b/src/readahead/readahead-collect.c
index 6bff32f4dd..7e6c243b5e 100644
--- a/src/readahead/readahead-collect.c
+++ b/src/readahead/readahead-collect.c
@@ -654,7 +654,7 @@ int main(int argc, char *argv[]) {
int r;
const char *root;
- log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
+ log_set_target(LOG_TARGET_AUTO);
log_parse_environment();
log_open();
diff --git a/src/readahead/readahead-replay.c b/src/readahead/readahead-replay.c
index 88c7a219a8..00d57c3d7a 100644
--- a/src/readahead/readahead-replay.c
+++ b/src/readahead/readahead-replay.c
@@ -338,7 +338,7 @@ int main(int argc, char*argv[]) {
int r;
const char *root;
- log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
+ log_set_target(LOG_TARGET_AUTO);
log_parse_environment();
log_open();