hello,
i'm trying to change OJB's log4j appender from the console to a file.
so i edited log4j.properties and replace:
log4j.appender.A1=org.apache.log4j.ConsoleAppender
with
log4j.appender.A1=org.apache.log4j.RollingFileAppender
log4j.appender.A1.MaxFileSize=100MB
log4j.appender.A1.File=${catalina.home}/logs/myapp-OJB.log
unfortunately, the logging still goes to the console. has anyone
successfully accomplished this.
thanks,
thad
- changing OJB's log4j appender Thad Welch
- Re: changing OJB's log4j appender Thomas Dudziak
