[英]What is the Apache 2 error log timestamp format?
I am trying to add an Apache Error Log configuration to Goaccess, and I'm stuck on the timestamp format.我正在尝试将 Apache 错误日志配置添加到 Goaccess,但我坚持使用时间戳格式。 My current guess is
%a %b %e %H:%M:%S %Y
, but apparently that is incorrect, since it gives me error Token 'Sun Sep 11 09:51:43.343399 2022' doesn't match specifier '%t'
.我目前的猜测是
%a %b %e %H:%M:%S %Y
,但显然这是不正确的,因为它给了我错误Token 'Sun Sep 11 09:51:43.343399 2022' doesn't match specifier '%t'
。 Can anyone tell me the default time stamp format?谁能告诉我默认的时间戳格式?
EDIT :编辑:
I had previously changed the log format to [%t] [%l] [pid %P] %F: %E: [client %a] %M
, if that helps.我之前已将日志格式更改为
[%t] [%l] [pid %P] %F: %E: [client %a] %M
,如果有帮助的话。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.