Enable Web Access Log

jimson.lee's Avatar

jimson.lee

30 Nov, 2010 10:28 AM

Hi,

Does Cascade have access logs similar to IIS Logs or Apache Access logs? We would like to be able to generate usage stats for reporting.

Thanks
Jim

  1. Support Staff 1 Posted by Tim on 01 Dec, 2010 08:55 PM

    Tim's Avatar

    Hi Jimson,

    I believe this is a setting you can enable in Tomcat. Try doing the following:

    • Edit the file \tomcat\conf\server.xml
    • Un-comment this portion of the configuration:
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="localhost_access_log." suffix=".txt"
                 pattern="common" resolveHosts="false"/>
      
    • Restart Cascade Server

    This should create files in the directory \tomcat\logs with names like localhost_access_log.{date}

    Let me know if that helps.

    Thanks

  2. 2 Posted by jimson.lee on 06 Dec, 2010 04:29 AM

    jimson.lee's Avatar

    Thank you, Tim.

  3. Tim closed this discussion on 06 Dec, 2010 02:15 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac