摘要: 配置位置在log下的server.xml,(tomcat容器)在server.xml里的<host>标签下添加:<Valve className="org.apache.catalina.valves.AccessLogValve"directory="logs" prefix="localhost_access_log." suffix=".txt"pattern="common" resolveHosts="false"/>范例:<Engin 阅读全文
posted @ 2012-07-09 22:35 wasp 阅读(2849) 评论(0) 推荐(0) 编辑