How can I disable log rotation for a website?

Discussion in 'Installation/Configuration' started by fmmarzoa, Apr 4, 2012.

  1. fmmarzoa

    fmmarzoa New Member


    I want to disable log rotation for a website, but I cannot find where to do that on ISPConfig 3.

    If there is no way to do it just for one site, I rather prefer to have NO log rotation for no site at all than having it for all, like now.

    Thanks a lot in advance and best regards,
  2. fmmarzoa

    fmmarzoa New Member

    No way to do that?
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Logging and logrotation of the access log is done by a script named vlogger, you might have to change the code of that script if you like to configure it by site.
  4. fmmarzoa

    fmmarzoa New Member

    Are you sure about that?

    I have not found any call to vlogger on /usr/local/ispconfig/server/cron_daily.php nor on /usr/local/ispconfig/server/server.php, that are the scripts that executes ispconfig 3 on crontab
  5. fmmarzoa

    fmmarzoa New Member

    So you are right, I have found that script into /etc/apache2/sites-available/ispconfig.conf on CustomLog apache's directive.

    Modifying it seems a bit complicated and also dirty, because if I update it in the future, I will need to do the changes again, so I rather prefer just to disable it and have an access.log file for each virtual host instead.

    Thanks a lot for your help,

Share This Page