Enable Web Access Log

jimson.lee's Avatar

jimson.lee

Nov 30, 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 Dec 01, 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 Dec 06, 2010 @ 04:29 AM

    jimson.lee's Avatar

    Thank you, Tim.

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

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

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