ha/service-mgmt/sm-1.0.0/scripts/sm.logrotate
Sen Yang c8e477a81d Update Logrotate rules
Changed size rotate of some sm logs.

Change-Id: I9c3ac18302c666677d57fcc67af27638bc7840d7
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-06-28 15:50:04 -04:00

62 lines
741 B
Plaintext

#
# Copyright (c) 2014 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
nodateext
/var/log/sm-customer.alarm
{
nodateext
size 100M
start 1
missingok
rotate 20
compress
copytruncate
}
/var/log/sm-customer.log
{
nodateext
size 100M
start 1
missingok
rotate 20
compress
copytruncate
}
/var/log/sm-scheduler.log
{
nodateext
size 50M
start 1
missingok
rotate 10
compress
copytruncate
}
/var/log/sm-trap.log
{
nodateext
size 100M
start 1
missingok
rotate 20
compress
copytruncate
}
/var/log/sm-troubleshoot.log
{
nodateext
size 50M
start 1
missingok
rotate 10
compress
copytruncate
}