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.

Empty httpd access log

Discussion in 'General Discussion' started by postcd, Sep 28, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    619
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    my /var/log/httpd/access_log
    even after httpd restart

    in /etc/httpd/conf/httpd.conf is line:
    ErrorLog "logs/error_log"

    please any idea why it is not logging? how to fix? thank you
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    because on a cpanel box that is not where the log is

    /usr/local/apache/logs/error_log
     
    postcd likes this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, the correct path to the access log is:

    Code:
    /usr/local/apache/logs/access_log
    Are you using a symbolic link for "/var/log/httpd" or does the file path above show the log output?

    Thank you.
     
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    619
    Likes Received:
    6
    Trophy Points:
    18
    /usr/local/apache/logs/access_log shows non usefull output like:

     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What information are you seeking to obtain? Have you reviewed the domain access logs in the /usr/local/apache/domlogs/ directory?

    Thank you.
     
  6. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    619
    Likes Received:
    6
    Trophy Points:
    18
    Thank You, you guessing correct, im looking for log like that. is there any such, but containing data from all cpanels? I know there is Apache status in WHM but its only one time output
     
Loading...

Share This Page