Disable apache Logs in Ispconfig 2

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

  1. esezako

    esezako New 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

    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 New Member

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

    falko Super Moderator

    Yes, of course.
     
  5. esezako

    esezako New Member

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

    till Super Moderator

    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 New Member

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

    till Super Moderator

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

    esezako New 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

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

    esezako New Member

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

    Thanks for your replies! :)
     
  12. esezako

    esezako New Member

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

Share This Page