Skip to main content

cpanellogd starting time

Comments

4 comments

  • cPanelMichael
    Setting the blackhours, leaving a window between midnight and 3:00 AM causes it to not run at all?

    Hello :) That is in-fact the supported method of ensuring statistics only generate at a specific time. You can browse to "WHM Home " Server Configuration " Statistics Software Configuration" and change the "Log Processing Frequency" to a value such as "3 hours" if you want to ensure statistics run on the first night. Otherwise, are you sure at least 24 hours had passed since the last statistics generation when you first made the change to the black out hours? Thank you.
    0
  • rebel7
    Michael, My apologies for not replying. I've been quite busy on a project and "assumed" that I would get an email notification if a reply came through and have only now taken time to loop back to have a look. As a test, I allowed 2 days to pass with all stats disabled and with that 3 hour window available for the log rotation. With/without stats enabled the log rotation occurs at the same exact time, around 7:00 AM, each day. This screams to me that there is a cron job somewhere triggering this that either I haven't found or I'm missing how the cron job is triggering the log rotation. I've put a few hours into it and have researched for it and just haven't had time to pursue it further. I thought I would drop a post on the cpanel forum and someone more familiar with cpanel would just say, "Oh yeah, the cpanellogd is triggered by such-n-such, etc., and you can change the timing here, etc". Since I don't need stats/bandwidth reporting I am inclined to disable cpanellogd, which is what the host tech support suggests as well, and set up logrotate to handle the domolgs rotation. I am reluctant to disable something that I am not intimately familiar with but it appears that there would be no ill effect in doing so since I don't need stats/bandwidth. This is another thing I would like input on from this forum. Thank you. (and I promise to check back frequently for a response ;-} )
    0
  • rebel7
    *bumping* this for hope of more input? Does no one know what sets the start time for cpanellogd?
    0
  • cPanelMichael
    There's no specific cron job that determines when cpanellogd processes statistics, but rather cpanelogd is a process that's always running. You could setup your own custom cron job that utilizes the "/scripts/runstatsonce" command if you want to process statistics at a specific time. Thank you.
    0

Please sign in to leave a comment.