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?

See logrotate and its “size” parameter.

dq,

If you’re using cPanel, it also has a built-in log rotation scheme you can use.

Regards,

DK