Am Freitag, 17. Februar 2006 03:01 schrieb Branden Root: > Hello All, > > While this isn't strictly a magnolia question, I figured I'd ask the > list to see if anyone has done this before. I want to configure my > magnolia+tomcat 5.5 application to log all hits to a file, much like > apache httpd or IIS does, so I can use Urchin to track statistics. > Anyone done this before?
Yes. The Access Log Valve creates log files in the same format as those created by standard web servers. These logs can later be analyzed by standard log analysis tools to track page hit counts, user session activity, and so on. The files produces by this Valve are rolled over nightly at midnight. This Valve may be associated with any Catalina container (Context, Host, or Engine), and will record ALL requests processed by that container. http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html Oliver ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
