cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] JCSLogging Mon Jun 7 21:00:01 2004
Date Mon, 07 Jun 2004 19:00:02 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=JCSLogging , version: 1 on Sun Jun  7 19:50:12
2004 by TimLarson

New page created:
+ You can ignore the JCS warnings, they do not affect normal behavior.
+ 
+ If you want to get rid the logs from the console, then you need to
+ configure log4j, ie: in WEB-INF/classes create a file called
+ log4j.properties and place this inside the file (replacing each
+ YOUR-*-FILENAME with a real path and filename):
+ 
+ {{{
+ #**********************************************************************
+ # Root log4j appender
+ log4j.rootCategory = INFO, root
+ log4j.appender.root = org.apache.log4j.FileAppender
+ log4j.appender.root.File = <YOUR-DEFAULT-LOGGING-FILENAME>
+ log4j.appender.root.layout = org.apache.log4j.PatternLayout
+ log4j.appender.root.layout.ConversionPattern = %-5r %-5p [%t] %c{2} - %m%n
+ log4j.appender.root.Append = false
+ # Apache JCS cache
+ log4j.category.org.apache.jcs = INFO, jcs
+ log4j.appender.jcs = org.apache.log4j.FileAppender
+ log4j.appender.jcs.File = <YOUR-JCS-LOGGING-FILENAME>
+ log4j.appender.jcs.layout = org.apache.log4j.PatternLayout
+ log4j.appender.jcs.layout.ConversionPattern = %-5r %-5p [%t] %c{2} - %m%n
+ log4j.appender.jcs.Append = false
+ #**********************************************************************
+ }}}
+ 
+ [Email|http-link-tomarc.theaimsgroup.com/?t=108661549400002&r=1&w=2] discussion.
+ 



Mime
View raw message