#25 wrong logfile name completion

closed
nobody
5
2012-10-11
2001-04-02
Anonymous
No

Software version: awstats 2.23 on Linux/386. Logfiles
are from IIS5 (mounted from W2K-Server via smbfs).

The logfile completion mechanism seems to has a bug
when day of month is below 10.

Logfile is: ex010402.log
awstats looks for: ex01042.log --> not found

The config file entry is:
LogFile="/usr/local/awstats/web2000-logs/W3SVC3/ex"

The following fix helped: add line 1568
if ($nowday < 10) { $nowday = "0$nowday"; }

Best regards,
Carsten
cg@dialogika.de

Discussion

  • Logged In: YES
    user_id=96898

    Already solved in 2.24