You can use either the "minsize" or "size" options in the logrotate conf file. Check the logrotate man pages for details.
Hi,
Is there is any possible way to rotate apache log files base on the log file size, I want to rotate the log file once it reaches 100MB.
If I can rotate the log file then how can I do it?
You can use either the "minsize" or "size" options in the logrotate conf file. Check the logrotate man pages for details.
Thanks, I will search and make a try. If possible can you post the changes which have to be made in the conf file?
Bookmarks