diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-05-29 14:09:56 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-30 00:43:39 -0400 |
commit | 9749cd77bc6121a304a7f1eb0f03f26e620dc9da (patch) | |
tree | cc7062d97f97ef50bba039646efec57091943593 /src/core | |
parent | 23ad4dd8844c582929115a11ed2830a1371568d6 (diff) |
core: read "debug" from kernel commandline and set log level
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c index bf1e3e8ffa..bb7364054e 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -410,6 +410,8 @@ static int parse_proc_cmdline_word(const char *word) { } else if (streq(word, "quiet")) arg_show_status = false; + else if (streq(word, "debug")) + log_set_max_level(LOG_DEBUG); else if (!in_initrd()) { unsigned i; |