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.

cPanel errors logs - anyone know where it is?

Discussion in 'General Discussion' started by XPerties, Apr 27, 2005.

  1. XPerties

    XPerties Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    401
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New Jersey, USA
    When you login to cPanel and click on "Error log" icon.

    Where are those errors stored at, do you know?

    They are not stored in:
    /usr/local/cpanel/logs/error_log
    /var/log/httpd/error_log

    Take a guess..... :confused:
     
  2. Rafaelfpviana

    Rafaelfpviana Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brazil
    try this

    check if this is check in Main >> Server Setup >> Tweak Settings

    System

    Display Errors in cPanel instead of logging them to /usr/local/cpanel/logs/error_log

    it should be off
     
  3. XPerties

    XPerties Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    401
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New Jersey, USA
    I don't have a clue what that has to do with my question.

    My clients have errors in their cPanel, where are the errors for each client stored at?
     
  4. Rafaelfpviana

    Rafaelfpviana Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    142
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brazil
    you mean the error_log gererated by apache?
     
  5. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    /usr/local/apache/logs/error_log
     
  6. Ronny

    Ronny Well-Known Member

    Joined:
    Dec 27, 2002
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    That's not right, I see thing sin a person's error_log through cpanel than I do in the main apache error log.

    Cp's like PLESK have an error_log for each domain, does cpanel not?
     
  7. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    cPanel's default log setup is a little different than Plesk (or Ensim ... which I migrated from).

    The equivalent of each domain's "access" logs can be found under:

    /usr/local/apache/domlogs/

    The setting in /usr/local/apache/conf/httpd.conf does write all domains' error entries into one log file found at /usr/local/apache/logs/error_log. There is an option on each accounts cPanel menu to view this log (it is parsed for the one account). You could also grep the master error log for the one account.

    That said, if you wanted physically separate error log files for each domain (or just a couple), you could certainly add a directive to the accounts VirtualHost container in httpd.conf.

    In either case, you are not getting any "less" entries with the one error log. Apache is writing the same information into the master error log as it would if they were separate files.

    Hope this helps -
     
Loading...

Share This Page