Adding an option not to bypass old records

Developers
Bill Moran
2006-12-08
2013-03-04
  • Bill Moran
    Bill Moran
    2006-12-08

    In my scenerio, I have load balancers and I don't want them all rotating their log files at the same time.

    See this thread for additional details on what I'm doing:
    http://sourceforge.net/forum/forum.php?thread_id=1628076&forum_id=43428

    Anyway, looking at line 6383 (I'm using awstats v 6.5) it appears as if I could simply add another check
    to cause it to assume that records are never old, then add that to the conf file. For example, if I changed:
    if ($timerecord <= $LastLine) { # Already processed
    to
    if (($timerecord <= $LastLine) && $BypassOldRedords) { # Already processed

    Then setting $BypassOldRecords to true or false would control whether it skipped old records or just assumed that it didn't have to.

    Is this liable to bite me later on in the code? I have a sinking feeling that it will, but awstats is a pretty big chunk of perl, and it's going to take me quite a while to be sure this will work OK. Input from someone more familiar with the codebase would be welcome :)

     
  • honey
    honey
    2012-05-23

    share the images and their friends.

     
  • honey
    honey
    2012-05-23

    share the images and their friends.

    http://www.atcoachoutletsonline.com/">Coach Outlet

     
  • janebrendan
    janebrendan
    2012-10-06

    It is nice to find a blog that written by a human, rather than auto posting
    garbage. I am very enjoyed for this blog. Keep up the excellent work!
    http://giftyourkid.com/

     
  • mohtyajii
    mohtyajii
    2012-11-26

    The Friend asks no return but that his Friend will religiously accept and wear and not disgrace his apotheosis of him. They cherish each other's hopes. They are kind to each other's dreams. ~Henry David Thoreau
    sherwani