chiark / gitweb /
main,log: parse the log related kernel command line parameters at one place only...
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Aug 2014 16:07:36 +0000 (18:07 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Aug 2014 16:07:36 +0000 (18:07 +0200)
commit1de1c9c37bb58d99c3f9d86f50212e641a2948b4
tree55e2711b41b4b7c24856d5b1e2af1b949c15a240
parent56d96fc00cd009e92e611c11f15c1bfb1b1eb9e8
main,log: parse the log related kernel command line parameters at one place only, and for all tools

Previously, we ended up parsing some of them three times: in main.c when
processing the kernel cmdline, in main.c when processing the process
cmdline (only for containers), and in log.c again.

Let's streamline this, and only parse them in log.c

In PID 1 also make sure we parse "quiet" first, and then override this
with the more specific checks in log.c
src/core/main.c
src/shared/log.c