-
Member
log rotation
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?
-
Administrator
Advisor
You can use either the "minsize" or "size" options in the logrotate conf file. Check the logrotate man pages for details.
-
Member
Thanks, I will search and make a try. If possible can you post the changes which have to be made in the conf file?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks