Re: usage of log4j api

2007-03-05 Thread James Stauffer
There might be a call needed to initialize the appender. On 3/5/07, erdem boz <[EMAIL PROTECTED]> wrote: Hello everyone ; I am trying to configure my appenders via log4j api. Besides, I want to change behavior of logger during runtime. But I got following warning when I run my code. log4j:ERRO

many File Appenders on same file

2007-03-05 Thread Cheung, Quinn
Is there any danger in having more than 1 process (or more than 1 thread) use File Appenders that are configured to write to the same file? If it can be done safely, are there any performance issues? Thanks Squid - To unsub

Re: many File Appenders on same file

2007-03-05 Thread James Stauffer
Generally having more than 1 process write to a file is bad. You could have both processes send the logs to a socket appender and have 1 socket server receive them and write them to the 1 file. On 3/5/07, Cheung, Quinn <[EMAIL PROTECTED]> wrote: Is there any danger in having more than 1 process

[Beginner] Using Stemmers

2007-03-05 Thread DECAFFMEYER MATHIEU
Hi, This is a very simple question, but I just can't find the ressources I need ... I am using the StandardAnalyzer : StandardAnalyzer stdAnalyzer; if ((stopWordList != null) && (stopWordList.length != 0)) { stdAnalyzer = new StandardAnalyzer(stopWordList); } else {

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 the Int

Log4J and Tomcat 5.5 - Trouble getting started

2007-03-05 Thread Chris Chappell
Hi I'm developing an app with Tomcat 5.5 and am trying to add logging to it. I've tried lots of things and none seem to work: I have code like: import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import javax.naming.Context; import javax.naming.InitialContext;

Re: Log4J and Tomcat 5.5 - Trouble getting started

2007-03-05 Thread Jacob Kjome
Quoting Chris Chappell <[EMAIL PROTECTED]>: > Hi > > I'm developing an app with Tomcat 5.5 and am trying to add logging to it. > I've tried lots of things and none seem to work: > > I have code like: > > import java.sql.Connection; > import java.sql.SQLException; > import java.sql.Statement; > > i

Re: usage of log4j api

2007-03-05 Thread erdem boz
Thanks for quick reply. Do you have any example code? On 3/5/07, James Stauffer <[EMAIL PROTECTED]> wrote: There might be a call needed to initialize the appender. On 3/5/07, erdem boz <[EMAIL PROTECTED]> wrote: > Hello everyone ; > > I am trying to configure my appenders via log4j api. Beside