Appender - number of lines

2007-03-07 Thread DECAFFMEYER MATHIEU
Hi, My application allows to index a web application, and I want to show on a jsp the last time the specified web applciation has been indexed, like : 8 March 12 PM 32 - Full index 7 March 15 PM 46 - Partial index etc. So I need to get the X first lines I store. I don't know if it is a good

RE: [Beginner] Using Stemmers

2007-03-05 Thread DECAFFMEYER MATHIEU
Wrong mailing list, sorry !! __ Matt From: DECAFFMEYER MATHIEU [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 7:23 PM To: Log4J Users List Subject: [Beginner] Using Stemmers * This message comes from

Enable/Disable Appender

2007-03-02 Thread DECAFFMEYER MATHIEU
Hi, In my web applciation I need to be able to enable/disable a certain appender, but also the Treshold for every appender. For the treshold I had the idea to put its value as a system property, and change this system property via my web applciation and reload the config. But I don't know how I

More than one appender (pointing to different outputs) for a same package scope

2007-03-01 Thread DECAFFMEYER MATHIEU
Hi, Is something like this allowed ? More than one appender (pointing to different outputs) for two loggers pointing to same scope : logger name=lu.fortis level value=info/level appender-ref ref=mainAppenderInfo/ /logger logger

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
your main appender and special appender 3. Use a system property for the name of the file in the special appender. 4. Make sure you have your loggers setup so logs from the special part of your code go to the special appender. On 2/27/07, DECAFFMEYER MATHIEU [EMAIL PROTECTED] wrote: Thanks for your

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
. __ Matt -Original Message- From: DECAFFMEYER 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

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
/ appender-ref ref=specialAppender / /logger root priority value =info / appender-ref ref=mainAppender / appender-ref ref=consoleAppender / /root On 2/28/07, DECAFFMEYER MATHIEU [EMAIL PROTECTED] wrote: For the System property issue I tried this : appender name

RE: Multiple logging files

2007-02-28 Thread DECAFFMEYER MATHIEU
:-) __ 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 Network * Ok, I have set the system property

RE: Multiple logging files

2007-02-27 Thread DECAFFMEYER MATHIEU
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 logger name=com.mycompany.MyClass additivity=false /logger Jake Quoting DECAFFMEYER MATHIEU [EMAIL PROTECTED]: Hi, I have a main log file where all the logs

Two applications - one log file

2007-02-26 Thread DECAFFMEYER MATHIEU
Hi, I have two applications (running in the same JVM) and I want to have their logs stored in the same log file. I have one log4j config file for each app. Is this possible to do ? Thank u. __ Mathieu Decaffmeyer

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