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
Joe LeVeque f28790ce9a [System logs]: Fix logrotate bugs (#535)
- rsyslog logs were being rotated regardless of whether they exceeded their maixmum size. This was due to "-f" flag passed to logrotate in cron job.

- After rotation, /var/log/syslog was never written to again. Instead, logs were written to /var/log/syslog.1. This was due to rsyslog not properly closing the file descriptor to the pre-rotated log.

- Also brought back time-related rotation via the new(er) maxsize option, which performs a boolean OR operation. If the log exceeds the maxsize OR the log hasn't been rotated in the specified, it will be rotated. Using the older size option, the time-based rotation was ignored.

- Also addresses issue #528
2017-04-24 17:55:05 -07:00
..
Aboot [image]: SONiC-to-SONiC update (#464) 2017-04-21 17:23:36 -07:00
apt Config apt inside docker images to save disk space: auto clean, gz, no trans (#69) 2016-11-16 12:46:15 -08:00
build_templates [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520) 2017-04-21 08:22:44 -07:00
dhcp [oneimage] Update dhclient.conf (#479) 2017-04-05 13:16:20 -07:00
docker Squash merge latest code to github branch 2016-07-26 12:01:58 -07:00
image_config [System logs]: Fix logrotate bugs (#535) 2017-04-24 17:55:05 -07:00
initramfs-tools [oneimage]: use loop variable to get image dir in /proc/cmdline for aboot image (#534) 2017-04-24 13:39:29 -07:00
sshd Squash merge latest code to github branch 2016-07-26 12:01:58 -07:00