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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,614
    Likes Received:
    11
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,220
    Likes Received:
    1,376
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page