sonic-buildimage/files/image_config
Joe LeVeque 6c202919b3 [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520)
* Rename 'ACSFileFormat' -> 'SONiCFileFormat'

* Rename '00-acs.conf' -> '00-sonic.conf'

* Add logrotate.d and systemd-journald config files to image

* Log all SONiC process messages to /var/log/syslog; prevent duplicate logging to /var/log/messages

* Do not redirect cron and daemon logs to their own files, let them log to /var/log/syslog

* Log all teamd messages to /var/log/teamd.log; Add more SONiC program names to SONiC rules clause

* Remove duplicate code by condensing quagga programs into a list; Fix teamd log rule

* Kernel and LPR messages no longer getting duplicated to their own log files

* Now calling logrotate every minute via cron job

* Need full path to logrotate in cron job

* Add '.log' suffix to wildcards, otherwise logrotate will rotate already-rotated logs (e.g., bgpd.log.1.1.1.1.1...)

* Add microsecond granularity to syslog messages

* Don't overwrite system crontab, instead, install additional logrotate crontab file into /etc/cron.d

* Removed incomplete concept of per-process SONiC logs. We can revisit again later
2017-04-21 08:22:44 -07:00
..
apt one image implementation (#215) 2017-01-29 11:33:33 -08:00
bash [sonic_cli]: Fix bash completion for 'show' command (#355) 2017-03-02 12:17:04 -08:00
cron.d [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520) 2017-04-21 08:22:44 -07:00
environment [motd]: Lower-case 'i' in title (#398) 2017-03-15 20:14:28 -07:00
interfaces [interfaces]: Bring up LAG members before they are enslaved (#505) 2017-04-13 23:54:44 -07:00
logrotate.d [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520) 2017-04-21 08:22:44 -07:00
ntp [config] [oneimage & dhcp relay docker] Move ntp, rsyslog, and dhcp server information into minigraph (#374) 2017-03-06 12:41:26 -08:00
platform [rc.local]: Put variables into quotes in conditionals (#361) 2017-03-02 10:10:40 -08:00
rsyslog [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520) 2017-04-21 08:22:44 -07:00
snmp Fix config bug in snmp (#252) 2017-02-03 17:39:09 -08:00
sudoers one image implementation (#215) 2017-01-29 11:33:33 -08:00
systemd [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520) 2017-04-21 08:22:44 -07:00
updategraph Re-commit PR #432 (SHA 4546372) (#474) 2017-04-03 16:12:32 -07:00