Virtlog log rotation not easily disabled
Use case: I'm using serial->file for kernel development in a VM, and then using "tail -f" on the output file. In this situation, virtlogd's behavior of rotating logs is unhelpful -- my tail stops as the output is shunted to a new file.
(I'm using libvirt 6.1.0 on Fedora 32 but I checked out the repo and it looks like the issue is present there too.)
My first thought for how to disable this is to set max_size to 0 in virtlog.conf, but this actually causes virtlog to spin and consume a CPU.
A workaround is to set max_size to an arbitrarily large size, but it would be cleaner if 0 worked to disable, or there was another mechanism to disable log rotation.