awstats with IIS log file configuration for yesterday (new month rollover)

Discussion in 'Traffic Analysis' started by JanetSystems, Nov 3, 2008.

  1. #1
    Hello,

    I am using awstats with IIS. The log file is run shortly after midnight for the previous day. My problem is coping with the start of the next month, and no doubt the start of the new year.

    If I could achieve something like:
    year(today -1)month(today -1)day(today -1)
    from within the config file, without resorting to external files, it would be good.

    Example log file line:
    LogFile="L:\sites\LogFiles\W3SVC12345678/ex%YY-0%MM-0%DD-1.log"

    The config file is run from a batch file, triggered from a scheduled event.

    Thanks

    Neil
     
    JanetSystems, Nov 3, 2008 IP