libvirt/daemon
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
..
Makefile.am make: Drop building without driver modules 2017-07-27 12:00:35 +02:00
THREADS.txt THREADS.txt: fix typos 2017-01-25 09:18:49 +01:00
admin.c admin: Introduce virAdmConnectSetLoggingFilters 2016-12-15 10:36:23 +01:00
admin.h admin: Move admin_server.{h,c} to admin.{h,c} 2016-02-17 12:46:34 +01:00
admin_server.c rpc: virnetserver: Rename ClientSetProcessingControls to ClientSetLimits 2016-08-02 14:51:13 +02:00
admin_server.h admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
libvirt.rules polkit: Allow password-less access for 'libvirt' group 2015-05-04 12:57:06 -04:00
libvirtd-config.c libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd-config.h libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd.aug libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd.c daemon: logging: Fix --verbose option being ignored by the daemon 2017-08-28 16:42:13 +02:00
libvirtd.conf libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
libvirtd.h remote: implement secret lifecycle event APIs 2017-01-09 15:53:49 +00:00
libvirtd.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirtd.libxl.logrotate.in libxl: add logrotate config file 2015-05-05 09:08:11 -06:00
libvirtd.logrotate.in Add logrotate support for libvirtd.log 2011-03-04 22:43:55 +08:00
libvirtd.lxc.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.pod man: Fix documentation errors about the paths of the config files 2017-06-28 11:07:08 +02:00
libvirtd.policy.in daemon: Make the default PolicyKit policy auth_admin_keep. 2012-11-01 13:17:26 +00:00
libvirtd.qemu.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.sasl Switch to GSSAPI (kerberos) instead of the insecure DIGEST-MD5 2017-03-15 18:14:51 +00:00
libvirtd.service.in Increase default task limit for libvirtd 2017-04-20 09:13:34 -06:00
libvirtd.sysconf daemon: Enhance documentation for changing NOFILE limit 2014-03-20 10:55:44 +01:00
libvirtd.sysctl init: raise default system aio limits 2011-10-05 14:49:35 -06:00
libvirtd.uml.logrotate.in Change logrotate to be per-hypervisor logs 2010-03-10 11:27:02 +01:00
libvirtd.upstart daemon: Allow overriding NOFILES ulimit for the daemon as well 2012-02-01 16:04:30 +01:00
remote.c Add new flag to daemonCreateClientStream and virNetClientStreamNew 2017-05-18 07:42:13 +02:00
remote.h Implement the RPC protocol for the libvirt-lxc.la library 2013-01-15 18:16:53 +00:00
stream.c daemon: Don't conditionally free @origErr in daemonStreamEvent 2017-07-20 10:08:27 -04:00
stream.h Add new flag to daemonCreateClientStream and virNetClientStreamNew 2017-05-18 07:42:13 +02:00
test_libvirtd.aug.in libvirtd.conf: Drop max_requests 2017-08-16 08:59:28 +02:00
virt-guest-shutdown.target libvirtd: systemd: add special target for system shutdown 2016-11-23 11:13:53 +03:00