Where can I find information on AccessLogValve configuration ?

Solution Verified - Updated -

Issue

  • I need to change some of the log options for the AccessLogValve. Where can I find information on how to do this ?
  • I have a request to %D in the AccessLogValve pattern value to log time taken to process the request, in millis . I currently have

                <!-- Access logger -->
                <Valve className="org.apache.catalina.valves.AccessLogValve"
                    prefix="myapp_access_log." suffix=".log"
                    pattern="common" directory="${jboss.server.home.dir}/log"
                    resolveHosts="false" />
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
  • Tomcat
    • 5.5.x
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.