68 lines
1.2 KiB
Plaintext
68 lines
1.2 KiB
Plaintext
#
|
|
# Copyright (c) 2015-2021 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
/var/log/mtcAgent.log
|
|
{
|
|
create 0640 root root
|
|
start 1
|
|
rotate 10
|
|
size 100M
|
|
compress
|
|
notifempty
|
|
missingok
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
delaycompress
|
|
}
|
|
|
|
/var/log/hbsAgent.log
|
|
/var/log/mtcClient.log
|
|
/var/log/hbsClient.log
|
|
{
|
|
create 0640 root root
|
|
start 1
|
|
rotate 5
|
|
size 20M
|
|
compress
|
|
notifempty
|
|
missingok
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
delaycompress
|
|
}
|
|
|
|
/var/log/mtclogd.log
|
|
{
|
|
create 0640 root root
|
|
start 1
|
|
rotate 5
|
|
size 10M
|
|
compress
|
|
notifempty
|
|
missingok
|
|
postrotate
|
|
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
|
endscript
|
|
delaycompress
|
|
}
|
|
|
|
# The mtclogd opens and closes these log files on every log addition.
|
|
# Therefore does not require a notification over log rotation.
|
|
/var/log/mtcAgent_event.log
|
|
/var/log/mtcAgent_alarm.log
|
|
/var/log/mtcAgent_api.log
|
|
{
|
|
create 0640 root root
|
|
start 1
|
|
rotate 5
|
|
size 10M
|
|
compress
|
|
notifempty
|
|
missingok
|
|
delaycompress
|
|
}
|