Author Topic: Apache Log rotator setting for daily logs  (Read 2103 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache Log rotator setting for daily logs
« on: August 13, 2022, 04:27:55 AM »
Apache logs files in the /usr/local/apache/domlogs directory and the log format is [domain.com].log.

Where and what do I put on the server to have log files rotated daily for each day? Like:

Quote
domain.com-13-08-2022.log
domain.com-14-08-2022.log
domain.com-15-08-2022.log
and so on...


anotherdomain.org-13-08-2022.log
anotherdomain.org-14-08-2022.log
anotherdomain.org-15-08-2022.log
and so on...
« Last Edit: August 13, 2022, 04:29:41 AM by webaits »

Offline
****
Google Hangouts:  rcschaff82@gmail.com