Peru Sankar

Greenhorn
+ Follow
since Mar 04, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Peru Sankar

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?
21 years ago