]> err.no Git - systemd/commitdiff
journal: disable default debug logging
authorLennart Poettering <lennart@poettering.net>
Fri, 30 Dec 2011 21:29:23 +0000 (22:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 30 Dec 2011 21:29:23 +0000 (22:29 +0100)
src/journal/journalctl.c
src/journal/journald.c

index da4f51021d87853df227d08a52395d9f1a068442..701518244c116e63a487eaaa839cd8772f2c60db 100644 (file)
@@ -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();
 
index 8d6b3ab438160cc803e1d1f9d1ee3866ae4b164e..a25f81ef666d942a17a2d1df30887db2f381da9b 100644 (file)
@@ -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();