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.

Domlogs update frequency

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

Tags:
  1. srichter

    srichter Registered

    Joined:
    Oct 10, 2016
    Messages:
    3
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. srichter

    srichter Registered

    Joined:
    Oct 10, 2016
    Messages:
    3
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  5. srichter

    srichter Registered

    Joined:
    Oct 10, 2016
    Messages:
    3
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page