]> git.ipfire.org Git - thirdparty/libvirt.git/commit
logging: pass binary name not logfile name when enabling logging
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 21 Jun 2019 15:40:02 +0000 (16:40 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 19 Jul 2019 13:33:18 +0000 (14:33 +0100)
commit80d387c62f1ca5ecd706ce5e79080f5d221e84d4
tree717ff886d6877bf8ac7cfeb3e5b58afe403651e3
parentdab800bb8c6b428e5503226956782455de17964d
logging: pass binary name not logfile name when enabling logging

Instead of having each caller pass in the desired logfile name, pass in
the binary name instead. The logging code can then just derive a logfile
name by appending ".log".

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/locking/lock_daemon.c
src/logging/log_daemon.c
src/remote/remote_daemon.c
src/util/virlog.c