logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject RE: Messages getting redirected to non related log file
Date Tue, 20 Apr 2004 17:08:32 GMT

In order to detect previous configurations of log4j, log4j 1.3 will add a 
flag called "isPristine" to the logger repository. If the flag is set to 
true, you can assume that a given repository has not yet been configure.

At 06:50 PM 4/20/2004, you wrote:

>I had the same exact problem with a 3rd party JDBC driver.
>
>NCR's Terdadata JDBC driver was programmatically configuring
>Log4j loggers and appenders.
>
>My workaround is described here:
>
>http://www.theserverside.com/news/thread.tss?thread_id=21054
>
>-Sean
>
>
> > -----Original Message-----
> > From: Peake, Chris [mailto:Chris.Peake@ca.com]
> > Sent: Tuesday, April 20, 2004 9:27 AM
> > To: log4j-user@logging.apache.org
> > Subject: Messages getting redirected to non related log file
> >
> >
> > I have a program that logs messages to the console and a file using
>the
> > correct appenders. Works great, until I call a 3rd party tool that
>seems
> > to
> > be co-opting my logger somehow. As soon as that program is
>encountered,
> > ALL
> > MY messages start going to his log file and no longer to MY logfile.
>My
> > appenders are all named differently.
> >
> > I can't seem to find the root cause.
> >
> > I've tried various releases of log4j.
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org

-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message