fault/fm-mgr/sources/fm.logrotate
Sen Yang 028996cd56 Update Logrotate rules
Change size of fm-event.log to 100M.

Change-Id: Ibed791cd41d202a8470d7de573e992d527f41406
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-06-29 09:04:21 -04:00

36 lines
547 B
Plaintext

#
# Copyright (c) 2014 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
nodateext
/var/log/fm-event.log
{
nodateext
size 100M
start 1
missingok
rotate 20
compress
sharedscripts
postrotate
systemctl reload syslog-ng > /dev/null 2>&1 || true
endscript
}
/var/log/fm-manager.log
{
nodateext
size 10M
start 1
rotate 20
missingok
notifempty
compress
sharedscripts
postrotate
systemctl reload syslog-ng > /dev/null 2>&1 || true
endscript
}