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?
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.
Toggle this setting Off, then save the WHM Tweak Settings. You can find additional details in the documentation for WHM Tweak Settings.