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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable error_log generation?

Discussion in 'General Discussion' started by maxmizban, Apr 18, 2018.

  1. maxmizban

    maxmizban Registered

    Joined:
    Apr 18, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    Hi , Created error_log on /var/log/apache2/ directory , Please Help me for fix this problem and don' t create error_log on this directory ):
     
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    122
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Without error error_log file apache will not work properly. If its missing then crate it using touch cmd. error_log file will help you to troubleshoot apache/domain related issues.
     
  3. maxmizban

    maxmizban Registered

    Joined:
    Apr 18, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    All error_log are [INFO] ! and no [DEBUG] or [ERROR] ! , I would don't create error_log on /var/log/apache2 !
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    944
    Likes Received:
    66
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    The log file locations are set in the httpd.conf which cannot be modified directly. To make these kinds of customizations I would suggest that you contact a system administrator. You might find one here: Resources | cPanel Forums


    Thank you,
     
Loading...

Share This Page