diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-04-25 16:15:25 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-04-25 16:15:25 +0200 |
commit | c9a730e5b363a10639309c81dab838232ee434b6 (patch) | |
tree | 56463ab88aae11ede76b21a9ac20376606d72f8f /Enable logging with Libvirt.md | |
parent | ab409a3701bf59dd73dc1e0324376bdac8b6d74f (diff) |
vault backup: 2025-04-25 16:15:25
Diffstat (limited to 'Enable logging with Libvirt.md')
-rw-r--r-- | Enable logging with Libvirt.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Enable logging with Libvirt.md b/Enable logging with Libvirt.md new file mode 100644 index 0000000..526f39d --- /dev/null +++ b/Enable logging with Libvirt.md @@ -0,0 +1,18 @@ +--- +tags: + - libvirt + - howto +--- +Configure `/etc/libvirt/libvirtd.conf` + +set `log_filters` and `log_outputs`. + +### Tracing QMP queries +``` +log_filters="1:libvirt 1:qemu.qemu_monitor_json" +log_outputs="1:file:/var/log/libvirt/libvirtd.log" +``` + + +--- +https://libvirt.org/logging.html
\ No newline at end of file |