srichter

Member
Oct 10, 2016
5
0
1
New York
cPanel Access Level
Root Administrator
It seems the domlogs files are not updated in realtime anymore, traffic will be added to the logs 45+ minutes after it occurred. I know I can force them to be updated with /scripts/runweblogs, but is there a way to configure cPanel to either update these logs more frequently, or always update them in realtime?

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

You can modify the log processing frequency via:

"WHM Home » Server Configuration » Statistics Software Configuration"

Keep in mind that statistics processing can lead to increased load on the server.

Thank you.
 

srichter

Member
Oct 10, 2016
5
0
1
New York
cPanel Access Level
Root Administrator
"WHM Home » Server Configuration » Statistics Software Configuration"
Thanks for the reply, however I'm not sure if this is the right spot. What I see here is configuration for generators like awstats. I'm looking at the raw domlogs in each user's ~/access-logs/ directory, not statistics based off of those logs. The only time-related settings I see on this page are for logs/bandwidth processing, but they're set to 48/24 hours currently and that wouldn't line up with what I'm seeing. I see the domlogs updated about 1-2 times per hour.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Could you browse to "WHM Home »Service Configuration »Apache Configuration »Piped Log Configuration" and verify if piped logging is enabled on this server? Here's the description of how this feature works:

Configure Apache to use a single log target for all virtual host access and bandwidth logs. The combined logs will be piped to a helper application where they can be split based upon domain. This option will reduce the number of log files Apache manages, which will free system resources. Piped logging is recommended for systems with a large number of domains. By default this feature is disabled, and Apache will create distinct log files for each virtual host entry.
Additional documentation about how this works is available at:

The splitlogs Binary - Documentation - cPanel Documentation

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Yes, this is enabled. I believe I want to update the --buffer settings, but am not sure where the process is called by cPanel to adjust the setting.
Hello,

I believe this is the file you want to create and modify:

Code:
/var/cpanel/conf/splitlogs.conf
It's documented at:

The splitlogs configuration file

Thank you.