[PATCH 0/2] logging: add log cleanup for obsolete domains

Oleg Vasilev oleg.vasilev at virtuozzo.com
Tue Nov 29 16:08:26 UTC 2022


Kindly ping.

The previous attempt didn't get any attention, and I am not sure what 
else to do.

On 21.11.2022 15:29, Oleg Vasilev wrote:
> Motivation comes from the case when libguestfs has repeatedly created
> transient VMs, which in turn created lots of logs without any mechanism
> to delete it afterwards.
> 
> More motivation in [1]. Previous attempt in [2].
> 
> [1]: https://listman.redhat.com/archives/libvir-list/2022-February/msg00425.html
> 
> [2]: https://listman.redhat.com/archives/libvir-list/2022-February/msg00865.html
> 
> Oleg Vasilev (2):
>    logging: refactor to store config inside log handler
>    logging: add log cleanup for obsolete domains
> 
>   src/logging/log_daemon.c         |   6 +-
>   src/logging/log_daemon_config.c  |   9 ++
>   src/logging/log_daemon_config.h  |   3 +
>   src/logging/log_handler.c        | 137 +++++++++++++++++++++++++++----
>   src/logging/log_handler.h        |  17 ++--
>   src/logging/test_virtlogd.aug.in |   2 +
>   src/logging/virtlogd.aug         |   2 +
>   src/logging/virtlogd.conf        |   7 ++
>   8 files changed, 153 insertions(+), 30 deletions(-)
> 



More information about the libvir-list mailing list