Daily access log strange 24 hours range

igorimc

Registered
Sep 25, 2006
3
0
151
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:
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you confirm which specific access log you are referring to?

Thank you.
 

igorimc

Registered
Sep 25, 2006
3
0
151
Hello, thanks for your reply...

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

Thank You

Igor!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.
 

igorimc

Registered
Sep 25, 2006
3
0
151
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
You can modify the times at which it runs:

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"