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!

Raw logs are from two weeks ago

Discussion in 'General Discussion' started by WebHostPro, Aug 23, 2017.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,660
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have a customer that when downloading their raw logs from cpanel they are over two weeks old. I checked in cpanel and it said the logs are all caught up.

    Any idea how to start trouble shooting this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,167
    Likes Received:
    1,933
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @WebHostPro,

    Raw logs generally only contain entries that are less than 24 hours old because the logs are discarded when statistics are generated. Thus, my first thought is that something is preventing cpanellogd from processing the logs. You check for errors when statistics are generated for the account with the following command:

    Code:
    /scripts/runweblogs $username
    Also, in "cPanel >> Raw Access" can you verify if either of the options below are enabled?

    Archive logs in your home directory at the end of each stats run every 24 hours.
    Remove the previous month’s archived logs from your home directory at the end of each month.


    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