Commit 6ab83693 authored by Ondřej Lysoněk's avatar Ondřej Lysoněk

tuned-adm: Print only CONSOLE log messages by default

Print only log messages with log level CONSOLE by default in tuned-adm.
If we had the log level set to ERROR, people might be surprised they
suddenly get a lot of errors. The errors will probably in most cases
be harmless, e.g. a tuning is not supported on the user's system. We
should first make the logging consistent so that messages about
unsupported tunings are logged as WARN instead. Then we change tuned-adm
to print messages with level ERROR as well.
Signed-off-by: default avatarOndřej Lysoněk <olysonek@redhat.com>
parent 91c89db3
......@@ -115,7 +115,7 @@ ACTIVE_PROFILE_MANUAL = "manual"
LOG_LEVEL_CONSOLE = 60
LOG_LEVEL_CONSOLE_NAME = "CONSOLE"
CAPTURE_LOG_LEVEL = "error"
CAPTURE_LOG_LEVEL = "console"
CAPTURE_LOG_LEVELS = {
"debug": logging.DEBUG,
"info": logging.INFO,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment