在server.xml里加上<host>节点后面加上
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
时间: 2024-11-05 11:48:08