Rotate a file

In the path /etc/logrotate.d/ you can create a file in order to rotate any log as:

(Path where you have the log){
weekly
missingok
size 300000
rotate 3
maxage 90
compress
notifempty
copytruncate
create 660 pandora apache
su root apache
}
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support

Recent Discussions