summaryrefslogtreecommitdiff
path: root/src/readahead-collect.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-23 17:44:33 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-23 17:44:33 +0200
commitc1480dae170e5b597b937dc3591974dc76728680 (patch)
treecaac63d60bfd0d9c23a62cf04942f8eddd24e537 /src/readahead-collect.c
parent6e3eb5ba18172ed965e6b91fd7fc05de6c86f739 (diff)
readahead: normalize logging
Diffstat (limited to 'src/readahead-collect.c')
-rw-r--r--src/readahead-collect.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index 3699c3db81..e93f4fe527 100644
--- a/src/readahead-collect.c
+++ b/src/readahead-collect.c
@@ -319,7 +319,6 @@ static int collect(const char *root) {
m = FAN_EVENT_NEXT(m, n);
}
-
}
if (fanotify_fd >= 0) {
@@ -438,12 +437,10 @@ finish:
}
int main(int argc, char *argv[]) {
- /* log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); */
+ log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
log_parse_environment();
log_open();
- log_set_max_level(LOG_DEBUG);
-
if (collect("/") < 0)
return 1;