New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache Log rotator setting for daily logs

Started by webaits, August 13, 2022, 04:27:55 AM

Previous topic - Next topic

webaits

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:

Quotedomain.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...

rcschaff

Google Hangouts:  rcschaff82@gmail.com