From c9a730e5b363a10639309c81dab838232ee434b6 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Fri, 25 Apr 2025 16:15:25 +0200 Subject: vault backup: 2025-04-25 16:15:25 --- Enable logging with Libvirt.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Enable logging with Libvirt.md (limited to 'Enable logging with Libvirt.md') 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 -- cgit v1.2.3