Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux logrotate recursive

/var/log/basedir/*.log /var/log/basedir/*/*.log {
    daily
    rotate 5
}
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #linux #logrotate #recursive
ADD COMMENT
Topic
Name
4+8 =