Modify nfv and mtce-guest log rotation config files
This updates make the following setting changes to the nfv log rotation configuration files - add 'create' with permissions to guest conf files - add 'delaycompress' option - remove all global settings - remove the nodateext setting Test Plan: PASS: Verify log rotation file naming convention PASS: Verify delaycompress option PASS: Verify log permissions after rotate are 0640 Change-Id: I033ee0585aedd7c70ff55f2ce3eb70867b78097c Partial-Bug: 1918979 Depends-On: https://review.opendev.org/c/starlingx/config-files/+/784943 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
parent
19b3a3f385
commit
454c71ddc0
@ -1,16 +1,18 @@
|
||||
#daily
|
||||
## Copyright (c) 2015-2021 Wind River Systems, Inc.
|
||||
##
|
||||
## SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/var/log/guestAgent.log
|
||||
{
|
||||
nodateext
|
||||
size 10M
|
||||
rotate 5
|
||||
create 0640 root root
|
||||
start 1
|
||||
missingok
|
||||
notifempty
|
||||
rotate 5
|
||||
size 10M
|
||||
compress
|
||||
sharedscripts
|
||||
notifempty
|
||||
missingok
|
||||
postrotate
|
||||
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
||||
endscript
|
||||
delaycompress
|
||||
}
|
||||
|
@ -1,17 +1,18 @@
|
||||
#daily
|
||||
nodateext
|
||||
## Copyright (c) 2015-2021 Wind River Systems, Inc.
|
||||
##
|
||||
## SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/var/log/guestServer.log
|
||||
{
|
||||
nodateext
|
||||
size 10M
|
||||
rotate 5
|
||||
create 0640 root root
|
||||
start 1
|
||||
missingok
|
||||
notifempty
|
||||
rotate 5
|
||||
size 10M
|
||||
compress
|
||||
sharedscripts
|
||||
notifempty
|
||||
missingok
|
||||
postrotate
|
||||
systemctl reload syslog-ng > /dev/null 2>&1 || true
|
||||
endscript
|
||||
delaycompress
|
||||
}
|
||||
|
@ -3,11 +3,9 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
nodateext
|
||||
|
||||
/var/log/nfv-vim-alarms.log
|
||||
{
|
||||
nodateext
|
||||
size 10M
|
||||
start 1
|
||||
missingok
|
||||
@ -18,7 +16,6 @@ nodateext
|
||||
|
||||
/var/log/nfv-vim-events.log
|
||||
{
|
||||
nodateext
|
||||
size 10M
|
||||
start 1
|
||||
missingok
|
||||
@ -29,7 +26,6 @@ nodateext
|
||||
|
||||
/var/log/nfvi-openstack.log
|
||||
{
|
||||
nodateext
|
||||
size 10M
|
||||
start 1
|
||||
missingok
|
||||
|
Loading…
Reference in New Issue
Block a user