Hi,
I’m using CyberPanel with Litespeed Enterprise. I created a website using CyberPanel and defined the custom log destination using vhost.
Currently the logsize seems to be limited to 2 GB (per default). After it reaches 2 GB the old file gets archived and a new log file gets created.
Now I would like to decrease the file size limit to 100 MB. While there are corresponding settings in Litespeed Enterprise, they are not working because the website was created in CyberPanel.
I then tried to add to the vhost file of the CyberPanel website:
<VirtualHost *:443>
...
CustomLog /logs/access_log combined
<IfModule litespeed>
LogRotationSize 100M
</IfModule>
… but this also doesn’t seem to work.
What can I do to decrease the file size limit of my log files from 2 GB down to 100 MB?
Thanks!