OLVM: Customize ovirt-engine Log Rotation
(Doc ID 2899733.1)
Last updated on OCTOBER 05, 2022
Applies to:
Linux OS - Version Oracle Linux 7.5 with Unbreakable Enterprise Kernel [4.14.35] and laterLinux x86-64
Purpose
The logrotate invokes /var/log/ovirt-engine/engine.log daily:
/etc/logrotate.d/ovirt-engine
By default, /var/log/ovirt-engine/engine.log invokes logrotate daily, and if the log file size is larger than 10 MB, rotate the log with default gzip compression and rotation inverval maximum once a day, last 20 rotated log files keep.
# cat /etc/logrotate.d/ovirt-engine
"/var/log/ovirt-engine/engine.log" "/var/log/ovirt-engine/server.log" "/var/log/ovirt-engine/ui.log" {
daily
minsize 10M
missingok
copytruncate
rotate 20
compress
}
(snip)
Details
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Purpose |
Details |
Practice #1 |
Practice #2 |