Access log build-up

Discussion in 'General' started by Norman, Apr 4, 2011.

  1. Norman

    Norman Member HowtoForge Supporter

    Is it possible to specify to limit the diskusage of logs for a site?
    I got a heavy traffic site generating 2GB of logs per day :p

    The log dirs Im looking at is both the sites own log/ and then apache log dir in /var/log where it saves other_vhost log files.

    If it's not possible, is there a recommended way to disable accesslogs for heavy traffic sites?
    I could yank out the accesslog lines in configs but that'd be a bit brutish.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Logging can not be disabled for a single site as the vhosts dont have separate log configurations. The only thing that you can do is e.g. write a script to delete the logs by cron.

    The other_vhost log is not used by ispconfig and can be removed from the apache configuration if you dont need it for any other purpose.
     

Share This Page