: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 {
PropertyConfigurator.configure(file));
}
But this code
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
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