Change log folder or disable site logs.

Discussion in 'Installation/Configuration' started by altendorfme, Oct 16, 2014.

  1. altendorfme

    altendorfme New Member


    Use GlusterFS on "var/www" and logs has generated a very large data traffic between my servers.

    I wonder if it is to configure the logs directory of sites permanently, or even disable.

    Have you tried adding the nginx Directives did not work.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Logs are not stored in /var/www, so there is no problem at all.
  3. altendorfme

    altendorfme New Member

    That's the problem in nginx vhost, this:

    "error_log /var/log/ispconfig/httpd/;
    access_log /var/log/ispconfig/httpd/ combined;"

    But if you look at the server:

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    These are not in /var/www, they just appear to be there so that clients can view them from their ssh accounts. The log folder of a site is a bind mount to /var/log/ispconfig/httpd/domain.tld/ (see /etc/fstab). So the files that appear to be there are indeed in /var/log and not /var/www and there is no log traffic on your /var/www glusterfs volume.
  5. altendorfme

    altendorfme New Member

    I use ISPConfig to take care of institutional sites of the company, not the need to have the log to see users, is to disable?
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    No, you cant disable that and like I pointed out, it is not adding up to the traffic on your glusterfs share. its basiacally a symlink on filesystem level.
  7. altendorfme

    altendorfme New Member

    You're right about the / etc / fstab, it mounts really one unit.
    There is no way to disable this?

    Because looking at the log I see Gluster the transfer of such data in the network.
  8. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You can umount the bind-mounts and remove the entries from fstab.

Share This Page