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?
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?
In a terminal type: man logrotate
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
Bookmarks