提示:No such file or directory,仔细一看,明明才3.1号,结果给的是3.28号.看来是perl拼日期的时候拼错了.网上搜索一番发现竟然没有人提到这样的问题,难道大家分析日志的时候都是直接分析"path_to_log/*"?不管了,想想解决办法.分析awstats的源代码?我是没那爱好,先看下awstats.pl的参数吧.我很惊喜的发现了-LogFile参数.
-LogFile=x to change log to analyze whatever is 'LogFile' in config file
Be care to process log files in chronological order when updating statistics.