Proftpd access.log 和 awstats 的乐趣

发布于 2024-08-05 13:09:01 字数 560 浏览 5 评论 0原文

一天有相当多的 AWStats。 AWStats LogFormat docs 声明以下日志行:

[24 /Sep/2009:17:15:12 -0500] xxxx UNKNOWN xxxtemp "STOR recxxx.zip" 226 5164965

应与以下 LogFormat 匹配:

LogFormat="%time1 %host %other %logname %methodurlnoprot %code %bytesd"

即,如果 LogSeperator 设置为单个空格 (" ")。但不知何故它不匹配,我每次都会收到 AWStats did not find any valid log rows that match your LogFormat parameter 错误。有人有这方面的经验吗?

Had quite a bit of AWStats for one day. The AWStats LogFormat docs state that the following log line:

[24/Sep/2009:17:15:12 -0500] x.x.x.x UNKNOWN xxxtemp "STOR recxxx.zip" 226 5164965

should be matched by the following LogFormat:

LogFormat="%time1 %host %other %logname %methodurlnoprot %code %bytesd"

that is, if the LogSeperator is set to a single space (" "). But somehow it doesnt match, and I get a AWStats did not find any valid log lines that match your LogFormat parameter error every time. Has anyone had experience with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文