Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    68

    Question Domlog rotation and Webalizer Stats

    The Webalizer stats for all accounts on our server for February (last month) have been reset.

    This appears to be a consequence of the domlogs on our server getting reset at the end of the month. It appears they were cleared at about 5pm on the 28th of February. Webalizer presumably then created the Februrary stats based on the last few hours of the month...

    My question is, how can I set the domlogs to be reset (rotated?) at the start of the month (say 1am on the 1st of the month), rather than the end of the month. Presumably this would solve the problem, and result in only an hour or two of accesses not being included in the stats.

    Any help would be greatly appreciated.

    Thanks,
    Maverick.

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    68

    Default

    Well I think I've found a solution to the problem - though I won't know for sure till next month. I'll share anyway, in case anybody else is having the same problem.

    In Cpanel 6.0 (not sure about previous versions) under Tweak Settings there's an option to "Keep log files at the end of the month". Presumably by switching this on, my Webalizer stats won't be effectively nuked at the end of the month. What I don't understand is why everybody doesn't have the same problem as I did?? And why aren't the log files deleted at the start of the month, rather than the end of the month to avoid this occurence?

    I'll set up a Cronjob that clears the access logs at a more appropriate time so as to not interfere with the generation of the stats.

    If there's something I'm completely missing here, please let me know.

    Thanks,
    Maverick.

Similar Threads & Tags
Similar threads

  1. Domlog Rotation
    By sparek-3 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-06-2009, 02:49 PM
  2. domlog rotation problem.
    By Dmitry M. in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-03-2006, 01:40 AM
  3. DomLog rotation?
    By Ronny in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 09-01-2005, 10:11 AM
  4. domlog and webalizer
    By f_malekpour in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 07-29-2004, 07:44 PM
  5. domlog rotation: The Definitive Answer?
    By payne in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 11-23-2003, 07:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube