Adding an option not to bypass old records

Bill Moran
  • 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:

    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
    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.

  • 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!

  • 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


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks