Cosmo Logging
Cosmo uses commons-logging to direct its log output, allowing the deployer to choose his logging provider of choice. The notable exception is the jcr-server library, which uses Log4j directly. Future versions of Cosmo will remove this dependency.
If Log4j is not configured at the servlet container level, the running Cosmo web application will not generate any log output!
Reference
See
http://logging.apache.org/log4j/docs/ for more information about Log4j.
Useful loggers
org.osaf.cosmo.log.HttpLoggingFilter
- Logs information about requests
- Uses administrator-configurable format string set in web.xml
- More documentation can be found here: HttpLoggingFilterDoc