-Removes the "=" in the size command. -Rotates after 3 logs. -Adds compression support, but delays it for the first log. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- logrotate/ovirt-logrotate.conf | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/logrotate/ovirt-logrotate.conf b/logrotate/ovirt-logrotate.conf index da4beee..f1de67a 100644 --- a/logrotate/ovirt-logrotate.conf +++ b/logrotate/ovirt-logrotate.conf @@ -1,11 +1,8 @@ -/var/log/*.log { - rotate 0 +/var/log/ovirt*.log /var/log/messages { + rotate 3 + compress + delaycompress missingok - size=1024k -} - -/var/log/messages { - rotate 0 - missingok - size=1024k + size 1M + create } -- 1.6.0.6