]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure virExec preserves logging environment
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 18 Nov 2010 13:05:19 +0000 (13:05 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 23 Nov 2010 14:09:46 +0000 (14:09 +0000)
commit882f78c3cb60f3f9fb04dad2877252012db3ced3
treee35ec38d1c222b6a7859b2ba0a3377bd33ca5518
parent9288c31bf7e21fde201db49b956d3cf609c1c558
Ensure virExec preserves logging environment

The virFork call resets all logging handlers that may have been
set. Re-enable them after fork in virExec, so that env variables
fir LIBVIRT_LOG_OUTPUTS and LIBVIRT_LOG_FILTERS take effect
until the execve()

* src/util/util.c: Preserve logging in child in virExec
src/util/util.c