summaryrefslogtreecommitdiff
path: root/src/shared/log.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-17 01:05:39 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-17 02:43:44 +0200
commitd7b15e0a0161e8fd823bffd61a4799364871582f (patch)
tree3d5e7a18235546560bb78f3e55fddcdd1d3870ea /src/shared/log.c
parent8f294b45cbb627d31342f6a79444be59ce7e2274 (diff)
log: don't downgrade log level in non-PID 1 if "quiet" is passed on kernel cmdline
"debug" should apply to all tools, but "quiet" only to PID1.
Diffstat (limited to 'src/shared/log.c')
-rw-r--r--src/shared/log.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shared/log.c b/src/shared/log.c
index 6f17705abf..9039db3496 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -878,9 +878,6 @@ void log_parse_environment(void) {
if (l == 5 && startswith(w, "debug")) {
log_set_max_level(LOG_DEBUG);
break;
- } else if (l == 5 && startswith(w, "quiet")) {
- log_set_max_level(LOG_WARNING);
- break;
}
}
}