chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
install: when looking for a unit file for enabling, search for templates only after...
[elogind.git]
/
src
/
shared
/
log.c
diff --git
a/src/shared/log.c
b/src/shared/log.c
index 9039db34964dc5230aaaa2c357b644026b491292..6f17705abfad8869717f9522f570d7e892486102 100644
(file)
--- 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;
}
}
}