summaryrefslogtreecommitdiff
path: root/libpod/runtime_migrate.go
diff options
context:
space:
mode:
authorNiall Crowe <nicrowe@redhat.com>2022-02-25 09:25:30 +0000
committerNiall Crowe <nicrowe@redhat.com>2022-04-14 09:35:29 +0100
commit3da3afa5764bcec2d50b219446579b5770051f32 (patch)
tree66b2319d84d1eac23169b131ddbb96a6e9c3c4b6 /libpod/runtime_migrate.go
parent15712c76fb198cec7509ff0cf401e357401d2d7d (diff)
downloadpodman-3da3afa5764bcec2d50b219446579b5770051f32.tar.gz
podman-3da3afa5764bcec2d50b219446579b5770051f32.tar.bz2
podman-3da3afa5764bcec2d50b219446579b5770051f32.zip
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>
Diffstat (limited to 'libpod/runtime_migrate.go')
0 files changed, 0 insertions, 0 deletions