Disable apache Logs in Ispconfig 2

Discussion in 'Installation/Configuration' started by esezako, Sep 16, 2011.

  1. esezako

    esezako Member

    Hi,
    how can i disable the apache logs (/var/www/webx/log/) for all users?
    and for some selected users?

    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    To disable it for all users, just comment out the CustomLog directive in /etc/apache2/sites-available/ispconfig.conf and restart Apache.
     
  3. esezako

    esezako Member

    Hi Falko, but with this option, lose i the webalizer statics?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, of course.
     
  5. esezako

    esezako Member

    Any solution for delete de logs files after processed for webalizer?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The logs get deleted automatically after some time whan they reach a certain limit of the webspace quota, so there is no need to handle that manually.
     
  7. esezako

    esezako Member

    Till, in Ispconfig 2, at least with notify option (not suspend), the logs not deleted.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    This option is not related to logfiles. You mix up web quota and traffic quota.
     
  9. esezako

    esezako Member

    But the size of logs files sum to web quota. If my case the logs files are de 30-60% of the web quota of my clients.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, and thats intended as they will get deleted automatically in case that that quota gets full.
     
  11. esezako

    esezako Member

    I think that the files not are deleted, but i will observe this.

    Thanks for your replies! :)
     
  12. esezako

    esezako Member

    Are deleted the logs before send the mails of "Some Users/Groups Are Near Or Already Over Their Quota Limit"?
     

Share This Page