summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-12-30 22:29:23 +0100
committerLennart Poettering <lennart@poettering.net>2011-12-30 22:29:23 +0100
commitb3a0ad5ab142a142ab526aeb3d0b69e98e4e523c (patch)
tree95ff02ddcce632cbc51b6917c472685235f218c3 /src
parent783d2675eff73d1937bf8f78b368b1004c2d28c5 (diff)
journal: disable default debug logging
Diffstat (limited to 'src')
-rw-r--r--src/journal/journalctl.c3
-rw-r--r--src/journal/journald.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index da4f51021d..701518244c 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -444,9 +444,6 @@ int main(int argc, char *argv[]) {
sd_journal *j = NULL;
unsigned line = 0;
- log_set_max_level(LOG_DEBUG);
- log_set_target(LOG_TARGET_CONSOLE);
-
log_parse_environment();
log_open();
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 8d6b3ab438..a25f81ef66 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1858,7 +1858,6 @@ int main(int argc, char *argv[]) {
}
log_set_target(LOG_TARGET_CONSOLE);
- log_set_max_level(LOG_DEBUG);
log_parse_environment();
log_open();