I have a need to rotate the http access logs in the midnight at 00:00 hrs. With my current configuration as below, the file is rotated after 00:00 hrs when the hit is received on that server. I want to generate the file on the given time forcefully irrespective of the hit made to that instance. Can someone guide me on this, please? Below is my current configuration for log rotation.
posted 3 months ago
Did anybody knows how to do it, in case they needed it?