mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-07 07:18:01 +02:00
Always redirect log handler
The log handler takes care of the verbosity level. Use the custom handler even without running daemon in verbose mode or journald.
This commit is contained in:
parent
ca14f5875d
commit
b4627e3e81
1 changed files with 1 additions and 2 deletions
|
|
@ -1503,8 +1503,7 @@ int main (int argc, char **argv)
|
|||
g_unix_signal_add (SIGINT, quit_signal_callback, data);
|
||||
|
||||
/* redirect all domains */
|
||||
if (verbose && !g_log_writer_is_journald (fileno (stdout)))
|
||||
g_log_set_default_handler (debug_handler_cb, data);
|
||||
g_log_set_default_handler (debug_handler_cb, data);
|
||||
|
||||
g_debug ("Starting power-profiles-daemon version "VERSION);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue