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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.38.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux