RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
quot;); Thank u for your support:-) __ Matt -Original Message- From: DECAFFMEYER MATHIEU [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 3:09 PM To: Log4J Users List Subject: RE: Multiple logging files * This message comes from the Internet Networ

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
nt: Wednesday, February 28, 2007 2:14 PM To: Log4J Users List Subject: Re: Multiple logging files * This message comes from the Internet Network * 3. Both the system property and any needed directories need to be set before log4j is configured. I created an appender that

Re: Multiple logging files

2007-02-28 Thread James Stauffer
OTECTED] Sent: Wednesday, February 28, 2007 9:58 AM To: Log4J Users List Subject: RE: Multiple logging files * This message comes from the Internet Network * Yes exactly :-) Thank u very much, I realized I did this all wrong. I have read the Log4J tutorial, I did the points 1 & 2, bu

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
FFMEYER MATHIEU [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 9:58 AM To: Log4J Users List Subject: RE: Multiple logging files * This message comes from the Internet Network * Yes exactly :-) Thank u very much, I realized I did this all wrong. I have read the Log4J tutorial,

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
sage- From: James Stauffer [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 5:47 PM To: Log4J Users List Subject: Re: Multiple logging files * This message comes from the Internet Network * This should do what you want: 1. Switch to XML config. 2. Define your main appende

Re: Multiple logging files

2007-02-27 Thread James Stauffer
___ Matt -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 8:55 PM To: Log4J Users List Subject: Re: Multiple logging files * This message comes from the Internet Network * Loggers inherit appenders unless they are

RE: Multiple logging files

2007-02-27 Thread DECAFFMEYER MATHIEU
ge- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 8:55 PM To: Log4J Users List Subject: Re: Multiple logging files * This message comes from the Internet Network * Loggers inherit appenders unless they are told not to. If you add an appender to a logger and

Re: Multiple logging files

2007-02-26 Thread Jacob Kjome
Loggers inherit appenders unless they are told not to. If you add an appender to a logger and you want all logging for that logger to go only to the appender you just added to it, you'll have to set additivity="false" to this logger. log4j.additivity.com.mycompany.MyClass=false OR Jake

Multiple logging files

2007-02-26 Thread DECAFFMEYER MATHIEU
Hi, I have a main log file where all the logs are stored of the application. But I have a block of instructions in my application and I want the logs of this code to be stored in another log file. So I execute this : PropertyConfigurator.configure(...); It works ok, but the logs are now store