diff options
author | zsdc <taras@vyos.io> | 2022-03-07 18:20:53 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2022-03-07 18:20:53 +0200 |
commit | ebb524702e1cd60a74b00727b7bd24d375648c78 (patch) | |
tree | 7316b9e1c2434d8e18ce798a644e393078008fe8 /src/conf_mode/policy.py | |
parent | 1d0d4e83d8413c1b389be763cadd5d150d4be982 (diff) | |
download | vyos-1x-ebb524702e1cd60a74b00727b7bd24d375648c78.tar.gz vyos-1x-ebb524702e1cd60a74b00727b7bd24d375648c78.zip |
logrotate: T4250: Fixed logrotate config generation
* Removed `/var/log/auth.log` and `/var/log/messages` from
`/etc/logrotate.d/rsyslog`, because they conflict with VyOS-controlled
items what leads to service error.
* Removed generation config file for `/var/log/messages` from
`system-syslog.py` - this should be done from `syslom logs` now.
* Generate each logfile from `system syslog file` to a dedicated
logrotate config file.
* Fixed logrotate config file names in
`/etc/rsyslog.d/vyos-rsyslog.conf`.
* Added default logrotate settins for `/var/log/messages`
Diffstat (limited to 'src/conf_mode/policy.py')
0 files changed, 0 insertions, 0 deletions