Dashboard > blojsom > ... > Developers Guide > Configure logging
  blojsom Log In   View a printable version of the current page.  
  Configure logging
Added by David Czarnecki, last edited by David Czarnecki on Dec 23, 2004  (view change)
Labels: 
(None)

blojsom uses Jakarta Commons Logging to do logging. blojsom also ships with Log4J as its logging package. In the /WEB-INF/classes directory, you will find a file called log4j.properties. Developers who have downloaded blojsom from CVS will find this file in the directory where blojsom was checked out to in /properties.

You may edit the log4j.properties file to configure logging in blojsom as per your needs. How ever, Log4J configuration is out of the scope of this document, so you should refer to the Log4J website for documentation on configuring Log4J.

However, if you would like to turn off blojsom debugging log messages, you can change the following statement in log4j.properties:

log4j.rootLogger=DEBUG, stdout

to

log4j.rootLogger=ERROR, stdout

This will ensure that only error messages get logged by blojsom.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators