Changing Log Rotation

Changing Log Rotation

Our default on Apache logs seems to be a single day use, and then they are deleted. What function takes care of this, and how can we change this? I would like to keep 2 months worth of log files on the server. It doesn’t matter if they tarball every night, but we want to be able to download and analyze our traffic.

How can we change the rotation schedule?

Thanks.

Comments are closed.