libvirt/src/logging
Erik Skultety b988f794e3 daemon: logging: Fix --verbose option being ignored by the daemon
Commit 94c465d0 refactored the logging setup phase but introduced an
issue, where the daemon ignores verbose mode when there are no outputs
defined and the default must be used. The problem is that the default
output was determined too early, thus ignoring the potential '--verbose'
option taking effect. This patch postpones the creation of the default
output to the very last moment when nothing else can change. Since the
default output is only created during the init phase, it's safe to leave
the pointer as NULL for a while, but it will be set eventually, thus not
affecting runtime.
Patch also adjusts both the other daemons.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1442947

Signed-off-by: Erik Skultety <eskultet@redhat.com>
2017-08-28 16:42:13 +02:00
..
log_daemon_config.c log: Fix loading of conf file for log daemon 2016-12-14 07:24:24 +01:00
log_daemon_config.h
log_daemon_dispatch.c
log_daemon_dispatch.h
log_daemon.c daemon: logging: Fix --verbose option being ignored by the daemon 2017-08-28 16:42:13 +02:00
log_daemon.h
log_handler.c
log_handler.h
log_manager.c
log_manager.h
log_protocol.x
test_virtlogd.aug.in
virtlogd.aug
virtlogd.conf
virtlogd.init.in
virtlogd.pod man: Fix documentation errors about the paths of the config files 2017-06-28 11:07:08 +02:00
virtlogd.service.in Increase default file handle limits for daemons 2017-03-16 10:48:09 +00:00
virtlogd.socket.in
virtlogd.sysconf