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!

Domlogs update frequency

Discussion in 'General Discussion' started by srichter, Oct 10, 2016.

Tags:
  1. srichter

    srichter Member

    Joined:
    Oct 10, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. srichter

    srichter Member

    Joined:
    Oct 10, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New York
    cPanel Access Level:
    Root Administrator
    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.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    Additional documentation about how this works is available at:

    The splitlogs Binary - Documentation - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. srichter

    srichter Member

    Joined:
    Oct 10, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New York
    cPanel Access Level:
    Root Administrator
    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.
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    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