Linux logrotate: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
=Overview= | =Overview= | ||
=Installation= | |||
yum install -y logrotate | |||
=Footprint= | |||
./usr/sbin/logrotate | |||
./etc/logrotate.d | |||
./etc/cron.daily/logrotate | |||
./etc/logrotate.conf | |||
./etc/rwtab.d/logrotate | |||
./var/lib/logrotate |
Revision as of 18:24, 12 February 2018
External
- https://www.networkworld.com/article/3218728/linux/how-log-rotation-works-with-logrotate.html
- https://linux.die.net/man/8/logrotate
Internal
Overview
Installation
yum install -y logrotate
Footprint
./usr/sbin/logrotate ./etc/logrotate.d ./etc/cron.daily/logrotate ./etc/logrotate.conf ./etc/rwtab.d/logrotate ./var/lib/logrotate