mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests/qemu: boot-analysis: (Don't) set LIBVIRT_LOG_FILTERS.
Setting LIBVIRT_LOG_FILTERS is supposed to be better than setting
LIBVIRT_DEBUG, but I couldn't get it to work.
This updates commit b332d91bc9.
This commit is contained in:
@@ -686,6 +686,8 @@ libvirt_log_hack (int argc, char **argv)
|
||||
|
||||
/* Create the environment variables to enable logging in libvirt. */
|
||||
setenv ("LIBVIRT_DEBUG", "1", 1);
|
||||
//setenv ("LIBVIRT_LOG_FILTERS",
|
||||
// "1:qemu 1:securit 3:file 3:event 3:object 1:util", 1);
|
||||
snprintf (log_outputs, sizeof log_outputs,
|
||||
"1:file:/dev/fd/%d", libvirt_pipe[1]);
|
||||
setenv ("LIBVIRT_LOG_OUTPUTS", log_outputs, 1);
|
||||
|
||||
Reference in New Issue
Block a user