可以使用apache的日志格式:
common:'%h %l %u %t "%r" %s %b'
combined:'%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"'
也可以自己定制:
请看[url]http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Access%20Log%20Valve[/url]
common:'%h %l %u %t "%r" %s %b'
combined:'%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"'
也可以自己定制:
请看[url]http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Access%20Log%20Valve[/url]