Loading...
 

Tomcat Logging

Rotation and file naming

<Valve className="org.apache.catalina.valves.ExtendedAccessLogValve"
             directory="${tomcat.server.log.dir}"
             pattern="date time c-ip cs-method cs-uri x-H(protocol) sc-status x-H(contentLength) cs(Referer) cs(User-Agent) time-taken"
             prefix="access.log"
             fileDateFormat=".yyyy-MM-dd"
             suffix=""
             rotatable="true"
             renameOnRotate="true" />