This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/files/image_config
Joe LeVeque 9d5adb993a [System logs]: Improvements to prevent filling /var/log partition (#865)
- Force log rotation at size thresholds only (no longer also rotating logs daily), allowing for more consistent archived log size
- Eliminate remaining duplicate log messages
- Cron facility now only logs to cron.log (was also logging to syslog)
- Debug, mail, news and user log facilities only log to syslog; no longer creating separate log files for these facilities
- Cron job that calls logrotate every minute now uses the main /etc/logrotate.conf file so as to check/rotate all logs every minute, not just the logs specified in the rsyslog file. Also redirecting output of this command to /dev/null to prevent "(CRON) info (No MTA installed, discarding output)" messages in cron.log due to lack of a mail service
- Delete archive files based on remaining /var/log partition space. Note that this solution currently requires a minimum /var/log partition size of 32MB to function correctly
- Update sonic-sairedis and sonic-swss submodules to incorporate recording file name changes
- Add .screen file to .gitignore (unrelated)
2017-08-10 16:24:57 -07:00
..
apt [image]: add debian security update in the apt source list (#724) 2017-06-19 22:16:05 -07:00
asn [BGPD]: add bgp dynamic neighbor configuration (#708) 2017-06-21 18:52:50 -07:00
bash Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
cron.d [System logs]: Improvements to prevent filling /var/log partition (#865) 2017-08-10 16:24:57 -07:00
environment [image]: Update login message (#706) 2017-06-14 15:18:02 -07:00
interfaces Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
logrotate [System logs]: Improvements to prevent filling /var/log partition (#865) 2017-08-10 16:24:57 -07:00
ntp Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
platform [ConfigDB] Move all BGP configuration into DB (#861) 2017-08-08 16:23:58 -07:00
rsyslog [System logs]: Improvements to prevent filling /var/log partition (#865) 2017-08-10 16:24:57 -07:00
snmp Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
sudoers Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
systemd Remove extra trailing newlines at EOF (#804) 2017-07-12 20:54:37 -07:00
updategraph [ConfigDB] Move all BGP configuration into DB (#861) 2017-08-08 16:23:58 -07:00