Skip to main content

How to permanently disable domlogs?

Comments

5 comments

  • vanessa
    Edit the virtualhost template. You should never edit httpd.conf directly: [url=http://docs.cpanel.net/twiki/bin/view/EasyApache/EasyApacheChangesWithinVirtualHost]EasyApache: Changes Contained Within a VirtualHost Directive
    0
  • OooLong
    I don't see a /usr/local/apache/conf/userdata folder. Do I need to create one?
    0
  • cPanelMichael
    [quote="OooLong, post: 1632361">I don't see a /usr/local/apache/conf/userdata folder. Do I need to create one?
    The directory structure is not created automatically. You will need to create those directories if they do not yet exist. Thank you.
    0
  • OooLong
    /usr/local/apache/conf/userdata/std/2_4/$user/$domain/$includename.conf I'm done creating directory structure as instructed. Do I just repeat adding this CustomLog and comment it out, and that will overwrite the setting in httpd.conf? is this correct? includename.conf: #CustomLog /usr/local/apache/domlogs/domain.com combined #CustomLog /usr/local/apache/domlogs/domain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ." thank you.
    0
  • cPanelMichael
    I would use the instructions under: "Custom templates that will apply to a single virtual host" This way you can directly modify the "CustomLog" entries for the domain name in it's VirtualHost template. Thank you.
    0

Please sign in to leave a comment.