Multiples apache access.log files

Discussion in 'General' started by Ciao121, Dec 13, 2015.

  1. Ciao121

    Ciao121 New Member

    Today I was checking at disk usage. On my server I host only one domain.
    I have 3 apache access log files:
    /var/www/clients/client1/web1/log/20151313-access.log --> 1.4G
    /var/log/ispconfig/httpd/ --> 1.4G
    /var/log/apache2/other_vhosts_access.log --> 1.3G
    The first two started both at 00:00:00 and are identical in size
    The third one started at 06:25:14 (probably due the compression of others logs or some system maintenance service) and is a lillte smaller.
    Anyway can somone help me understand why do I have 3 access log files?
    Thank you!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    These two files are the same file, so you have just one file, you just see it at 2 places due to the bind mount of the directory. So the used space is just 1.4GB for the two files.

    Thats a default access.log of the OS, it is not used by ISPConfig and you should consider to deactivate it in the global apache config files.
  3. Ciao121

    Ciao121 New Member

    You are right. Firts to files are the same one!
    I'm going to check what's using the third one (I think fail2ban is using it), make changes and disable this logging.
    Thank you!
  4. Ciao121

    Ciao121 New Member

    Or, maybe better, I'll disable it and create a link to the ispconfig one.

Share This Page