RE: static log4j configuration statement

2008-09-11 Thread Michael Erskine
Bender Heri [mailto:[EMAIL PROTECTED] wrote: > Just put your property file into the classpath and you do not have to > worry about initialization of log4j framework. It does it automagically > when you fetch the first logger. > Heri Whilst that might be perfectly correct it is not what I'm attemp

RE: [SPAM (Bayesain Analysis)] - RE: static log4j configuration statement - Bayesian Filter detected spam

2008-09-11 Thread Bender Heri
tember 10, 2008 4:20 PM > To: Log4J Users List > Subject: [SPAM (Bayesain Analysis)] - RE: static log4j > configuration statement - Bayesian Filter detected spam > > > I use standard static code to include the log4j configuration: > > > > static { >

RE: static log4j configuration statement

2008-09-10 Thread Michael Erskine
> I use standard static code to include the log4j configuration: > > static { > PropertyConfigurator.configure("file")); > } > > But this code is not always executed, depending on if the class in which > this is included particpates in execution. But if I add this statment to > other classes to

static log4j configuration statement

2008-09-10 Thread s . mayer
Hi all, I use standard static code to include the log4j configuration: static { PropertyConfigurator.configure("file")); } But this code is not always executed, depending on if the class in which this is included particpates in execution. But if I add this statment to other classes too, I