Re: [PATCH v3 4/5] logging: add log cleanup for obsolete domains

2023-02-06 Thread Martin Kletzander
On Mon, Feb 06, 2023 at 01:26:09PM +0600, Oleg Vasilev wrote: On 03.02.2023 19:45, Martin Kletzander wrote: On Mon, Jan 30, 2023 at 09:00:01PM +0600, Oleg Vasilev wrote: Before, logs from deleted machines have been piling up, since there were no garbage collection mechanism. Now, virtlogd

Re: [PATCH v3 4/5] logging: add log cleanup for obsolete domains

2023-02-06 Thread Daniel P . Berrangé
On Mon, Feb 06, 2023 at 01:26:09PM +0600, Oleg Vasilev wrote: > > > On 03.02.2023 19:45, Martin Kletzander wrote: > > On Mon, Jan 30, 2023 at 09:00:01PM +0600, Oleg Vasilev wrote: > > > Before, logs from deleted machines have been piling up, since there were > > > no garbage collection

Re: [PATCH v3 4/5] logging: add log cleanup for obsolete domains

2023-02-05 Thread Oleg Vasilev
On 03.02.2023 19:45, Martin Kletzander wrote: On Mon, Jan 30, 2023 at 09:00:01PM +0600, Oleg Vasilev wrote: Before, logs from deleted machines have been piling up, since there were no garbage collection mechanism. Now, virtlogd can be configured to periodically scan the log folder for orphan

Re: [PATCH v3 4/5] logging: add log cleanup for obsolete domains

2023-02-03 Thread Martin Kletzander
On Mon, Jan 30, 2023 at 09:00:01PM +0600, Oleg Vasilev wrote: Before, logs from deleted machines have been piling up, since there were no garbage collection mechanism. Now, virtlogd can be configured to periodically scan the log folder for orphan logs with no recent modifications and delete it.

[PATCH v3 4/5] logging: add log cleanup for obsolete domains

2023-01-30 Thread Oleg Vasilev
Before, logs from deleted machines have been piling up, since there were no garbage collection mechanism. Now, virtlogd can be configured to periodically scan the log folder for orphan logs with no recent modifications and delete it. A single chain of recent and rotated logs is deleted in a