Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disable Domlogs

Discussion in 'General Discussion' started by thcpanel, Mar 26, 2019.

  1. thcpanel

    thcpanel Member

    Joined:
    Oct 23, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    How to disable domlogs for all accounts and include ssl logs?

    I put this in my global virtualhost, but doesnt work
    #CustomLog /usr/local/apache/domlogs/domain.com combined
    #CustomLog /usr/local/apache/domlogs/domain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,777
    Likes Received:
    442
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Those lines need to be commented out in the apache template at /var/cpanel/templates/apache2_4/ and once their commented out you should rebuild the apache configuration and then restart apache
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice