sonic-buildimage/files
Sudharsan Dhamal Gopalarathnam 1524d6569d [rsyslog]Setting log file size to 16Mb (#9504)
Why I did it
The existing log file size in sonic is 1 Mb. Over a period of time this leads to huge number of log files which becomes difficult for monitoring applications to handle.
Instead of large number of small files, the size of the log file is not set to 16 Mb which reduces the number of files over a period of time.

How I did it
Changed the size parameter and related macros in logrotate config for rsyslog

How to verify it
Execute logrotate manually and verify the limit when the file gets rotated.

Signed-off-by: Sudharsan Dhamal Gopalarathnam <sudharsand@nvidia.com>
2022-01-16 22:45:08 -08:00
..
Aboot [Arista] Fix flash size computation for Lodoga (#8622) 2021-08-30 15:26:56 -07:00
apt Update Centec platform support for Bullseye and 5.10 kernel (#7) 2021-11-10 15:27:22 -08:00
build/versions/host-base-image [Build]: Add debian host base image version to support the reproducible build (#9672) 2022-01-05 17:27:09 +08:00
build_scripts [hostcfgd]: Add Ability To Configure Feature During Run-time (#6700) 2021-03-13 05:56:27 -08:00
build_templates [rsyslog]Setting log file size to 16Mb (#9504) 2022-01-16 22:45:08 -08:00
dhcp ZTP infrastructure changes to support DHCP discovery provisioning data (#3298) 2019-12-10 08:16:56 -08:00
docker Enabling ipv6 support on docker container network. This is needed (#5418) 2020-09-22 08:32:17 -07:00
image_config [rsyslog]Setting log file size to 16Mb (#9504) 2022-01-16 22:45:08 -08:00
initramfs-tools [aboot] use ram partition for /var/log for devices with 3.7G disks (#8400) 2021-08-13 09:01:34 -07:00
scripts [bgpcfgd] Add bgpcfgd support to advertise routes (#9197) 2021-11-29 23:17:57 -08:00
sshd [sshd]: Create /run/sshd under systemd using RuntimeDirectory 2020-04-17 04:51:51 +00:00