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
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
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
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,
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
___
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
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
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
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