Interestingly the problem is solved when I removed the
LogManager.shutdown(); from contextDestroyed() method. Now it works even if
the Logger is static.
This is how the Log4J is configured.
public void contextInitialized(ServletContextEvent event){
PropertyConfigurator.configure(event.getServl
Yes it is calling this
public void contextDestroyed(ServletContextEvent event){
LogManager.shutdown();
}
Antony Paul
- Original Message -
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 10:10 AM
Subject: RE: AW: No appe
At 01:41 PM 3/23/2004 +, you wrote:
I am posting my last mail again. I think last mail I send to some one else.
This is the log4j.properties file
log4j.rootCategory=debug, file
log4j.category.your.category.name=WARN
#log4j.category.your.category.name=INHERITED
log4j.appender.file=org.apache.l
Hi
I'm trying to apply log4j in a J2EE environment and I'm hitting a wall.
I want to use configureAndWatch feature in my application. However, it seems
configureAndWatch uses the FileWatchdog class which depends on using a java.io.File
instance for the configuration file in order to detect cha
Hi,
ObjectRenderers go with the class hierarchy, so you want to associate
de.bankverlag.core.DBThreadGroupRend with java.lang.ThreadGroup. I'm
not sure of the syntax (others will pipe up if I'm wrong), but maybe
log4j.renderer.java.lang.ThreadGroup=de.bankverlag.core.DBThreadGroupRen
d will work.
Hi all!
I need to know how I can use my own ThreadGroupRenderer.
I want to use the JDBC-Appender, but have Problems with ' (single quotes)
in the threadname. The Threadname comes from bea weblogic.
I need to know how to specify my new Renderer like in my log4j.properties:
"log4j.or.renderer.Thr
I am posting my last mail again. I think last mail I send to some one else.
This is the log4j.properties file
log4j.rootCategory=debug, file
log4j.category.your.category.name=WARN
#log4j.category.your.category.name=INHERITED
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.Fi
Hello Jake,
At 11:29 PM 3/22/2004 -0600, Jacob Kjome wrote:
Had this email rejected twice with the following error:
"_we_don't_accept_email_with_executable_content_"
I tried attaching a .zip file containing the two files I am attaching
now. Who the heck is considering .zip to be an "executable"?