[systemd-commits] src/shared
Kay Sievers
kay at kemper.freedesktop.org
Tue Jun 10 10:17:34 PDT 2014
src/shared/log.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e683212f049ac5d3f95fb17300cfa2fd971f78f3
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Tue Jun 3 19:44:03 2014 +0200
log: honour the kernel's quiet cmdline argument
It was forgotten in b1e90ec515408aec2702522f6f68c4920b56375b
See https://bugs.freedesktop.org/show_bug.cgi?id=79582
diff --git a/src/shared/log.c b/src/shared/log.c
index 9039db3..6f17705 100644
--- a/src/shared/log.c
+++ b/src/shared/log.c
@@ -878,6 +878,9 @@ 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;
}
}
}
More information about the systemd-commits
mailing list