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.

Daily access log strange 24 hours range

Discussion in 'General Discussion' started by igorimc, Jan 30, 2014.

  1. igorimc

    igorimc Registered

    Joined:
    Sep 25, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello, I have this problem:

    The range in my daily accesslog is not from 00:00 to 00:00 but from 1pm (yesterday) to 1pm (today).

    where is the problem/configuration ?

    Thanks for help

    Igor :confused:
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. igorimc

    igorimc Registered

    Joined:
    Sep 25, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello, thanks for your reply...

    The log is: /usr/local/apache/domlogs/DOMAIN.EXT

    Thank You

    Igor!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    The Apache domain access logs are not rotated at midnight every night. Instead, they are updated every 24 hours. You can change the statistics processing schedule so that certain hours are blacked out if you prefer cpanellogd to run at select times:

    "WHM Home » Server Configuration » Statistics Software Configuration"

    Note that statistics applications such as Awstats or Webalizer will automatically parse the logs correctly into the correct dates/times so there is no need to have them run at midnight. In addition, statistics for each domain name are processed individually. Thus, you are not going to have them updated exactly at a certain time.

    Thank you.
     
  5. igorimc

    igorimc Registered

    Joined:
    Sep 25, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I understand,
    the strange thing is that I have other vps and all are updated at midnight.
    In addition, I have a client who wants to download these logs daily and it would be much more comfortable from midnight to midnight.
    You do not know if there is a way to update the start time?
    thanks

    Igor
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can modify the times at which it runs:

     
Loading...

Share This Page