On 10/17/05, Thad Welch <[EMAIL PROTECTED]> wrote:
> 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.
Are you sure that log4j is actually used to do the logging ? Have a
look into ojb-logging.properties or ojb.properties, there somewhere it
is specified which logger is used.
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]