Skip to main content

Stop access log creation for (sub)domain

Comments

2 comments

  • twhiting9275
    Sure, though I have no idea how long it'll stick around. This would probably be a good idea for feature requests, honestly. Login to SSH (root) In /usr/local/apache/conf/httpd.conf, find the lines something like this:
    CustomLog /usr/local/apache/domlogs/sub.domain.com combined CustomLog /usr/local/apache/domlogs/sub.domain.com "%{%s}t %I .\n%{%s}t %O ."
    Rip 'em out, entirely. Delete 'em ;) then run
    /usr/local/cpanel/bin/apache_conf_distiller --update
    Then backup your httpd.conf
    cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd-backup.conf
    Then run
    /usr/local/cpanel/bin/build_apache_conf
    and verify that the changes you made are still there. If so, one final command.
    service httpd restart
    I'm fairly certain that's good for both ea3 and ea4, but someone will correct me if I'm wrong.
    0
  • cPanelMichael
    Hello, You may also find the following document helpful if you decide to use the instructions in the previous response: Advanced Apache Configuration - EasyApache - cPanel Documentation The feature request associated with this thread is found at: Configure (disable) log for specific account / domain Thank you.
    0

Please sign in to leave a comment.