automation-tests/libpod/events
Niall Crowe 3da3afa576 Add log rotation based on log size
Add new functions to logfile.go for rotating and truncating
the events log file once the log file and its contents
exceed the maximum size limit while keeping 50% of the
log file's content

Also add tests to verify log rotation and truncation

Signed-off-by: Niall Crowe <nicrowe@redhat.com>
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-04-14 09:35:29 +01:00
..
config.go Add log rotation based on log size 2022-04-14 09:35:29 +01:00
events.go Add log rotation based on log size 2022-04-14 09:35:29 +01:00
events_linux.go Remove all instances of named return "err" from Libpod 2020-07-09 13:54:47 -04:00
events_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
filters.go bump go module to version 4 2022-01-18 12:47:07 +01:00
journal_linux.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
journal_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
logfile.go Add log rotation based on log size 2022-04-14 09:35:29 +01:00
logfile_test.go Add log rotation based on log size 2022-04-14 09:35:29 +01:00
nullout.go Fix `system service` panic from early hangup in events 2020-07-02 09:57:39 -04:00