aspose file tools*
The moose likes BEA/Weblogic and the fly likes BEA 7.0 & log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "BEA 7.0 & log4j" Watch "BEA 7.0 & log4j" New topic
Author

BEA 7.0 & log4j

Peru Sankar
Greenhorn

Joined: Mar 04, 2003
Posts: 1
This is my commons-logging.properties file:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategoryLog
This is my log4j.properties file:
# log4j configuration file
log4j.debug=true
log4j.rootCategory=ERROR, rolling
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
log4j.appender.rolling=org.apache.log4j.RollingFileAppender
log4j.appender.rolling.File=c:\\backoffice.log
log4j.appender.rolling.MaxFileSize=2KB
log4j.appender.rolling.MaxBackupIndex=5
log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
log4j.appender.rolling.layout.ConversionPattern=%d{MM/dd/yy hh:mm:ss a } %-5p %c - %m%n
When i run web application it wirtes to an bea console but does not generate c:\\backoffice.log.
Any Suggestions?


Peru
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BEA 7.0 & log4j