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 error_log generation?

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

  1. maxmizban

    maxmizban Member

    Joined:
    Apr 18, 2018
    Messages:
    9
    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:
    126
    Likes Received:
    18
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. maxmizban

    maxmizban Member

    Joined:
    Apr 18, 2018
    Messages:
    9
    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 II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,517
    Likes Received:
    251
    Trophy Points:
    193
    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,
     
    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