Comment out 'dateext' setting in logrotate.conf file

This update comments out the 'dateext' setting to avoid
log files being rotated with date as a default.

Test Plan:

PASS: Verify log rotation config files that don't
      specifically set dateext option are rotated
      by number rather than date.
PASS: Verify system install

Partial-Bug: 1918979
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
Change-Id: Ib68d86d1ec3f15abedce4c4059c3a8ec34b7d196
This commit is contained in:
Eric MacDonald 2021-04-06 08:44:26 -04:00
parent 35160afbda
commit e87383f6c3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ rotate 4
create
# use date as a suffix of the rotated file
dateext
# dateext
# Use su to rotate as root to ensure we don't fail due to dir permissions
su root root