Question
So if I want to retain ALL Apache logs for client accounts, I would remove apache_log from the rotation?
I thought the rotation would keep log files in the customer account but rotate them monthly. Is that not a thing anymore?
Answer
Yes, this is possible to do. By default, cPanel will remove the archived log at the end of the month. You can change this setting via WHM Tweak settings.
Remove the previous month’s archived logs from the user’s home directory at the end of each month unless configured by the user | This setting controls whether the system removes the archived log files from the user’s home directory at the end of each month. |
Default: On
Toggle this setting Off, then save the WHM Tweak Settings. You can find additional details in the documentation for WHM Tweak Settings.
WHM - Server Configuration - Tweak Settings - Stats and Logs
Comments
0 comments
Article is closed for comments.