diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-04-26 13:14:25 +0200 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-04-26 13:14:25 +0200 |
commit | 89688082f4c85cbfcf045e1f85dac5c69285c23e (patch) | |
tree | 709be9a6f0c9a802e0487e92e81f4281f4ec345b /Enable logging with Libvirt.md | |
parent | f0a7d563a385663513f24aecad92219ecfc83bd8 (diff) | |
parent | 468e33e7926897756acfe0d483633fb36949ebc5 (diff) |
vault backup: 2025-04-26 13:14: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 |