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!

Logging spontaneously stopped

Discussion in 'General Discussion' started by iwantlogs, Dec 9, 2018.

  1. iwantlogs

    iwantlogs Registered

    Joined:
    Dec 9, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Reseller Owner
    As of December 1, no logs are being kept on my server. It's been running just fine for many years but now it says the current log file is empty (verified, file size is 0 bytes) and in the cPanel for the user (there is only one user) it says the logs were last updated November 30. I have not even logged into the server since mid November. Is there any way to re-enable logging because all of the options I know about seem to be enabled? Archives are all complete up to the end of November 2018. I really need logging back. Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,325
    Likes Received:
    2,157
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @iwantlogs,

    Can you let me know which log file you are checking that shows 0 bytes? Are you checking the Apache domain access logs?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. iwantlogs

    iwantlogs Registered

    Joined:
    Dec 9, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Reseller Owner
    The file is /usr/local/apache/domlogs/[domain]
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,325
    Likes Received:
    2,157
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @iwantlogs,

    Can you verify if this server is using EasyApache 3, or EasyApache 4? If you're using EasyApache 3, it's possible this relates to internal case CPANEL-22787 (incomplete pipped logging setup on EA3 systems). If you're using EasyApache 3 on this system, can you disable pipped logging and then enable it again using WHM >> Apache Configuration >> Piped Log Configuration?

    Otherwise, if you're using EasyApache 4, please open a support ticket so we can take a closer look. You can post the ticket number here and we'll link this thread to it.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. iwantlogs

    iwantlogs Registered

    Joined:
    Dec 9, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Reseller Owner
    Disabling and enabling piped logging has fixed the issue. Is this likely to recur or is it just a one-off caused by a change of some sort? Either way, at least now I know the fix for future, thank you.
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,325
    Likes Received:
    2,157
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Does this system use EasyApache 3, or EasyApache 4?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. iwantlogs

    iwantlogs Registered

    Joined:
    Dec 9, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Australia
    cPanel Access Level:
    Reseller Owner
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,325
    Likes Received:
    2,157
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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