multiple loggers with shared
code
also using the logger?
How does one redploy a single application? Strange, I
could not find any information on this seemingly basic
task on google.
Read the real docs first, then Google only if needed.
http://tomcat.apache.org/tomcat-6.0-doc/deployer
Thanks, this makes sense. However, I'd like to find out what is being held
onto by the log4j.jar. So I'd like to test it out. How does one redploy a
single application? Strange, I could not find any information on this
seemingly basic task on google. Thanks again.
--- On Wed, 1/14/09,
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
Subject: RE: How to have multiple loggers with shared code
also using the logger?
How does one redploy a single application? Strange, I
could not find any information on this seemingly basic
task on google.
Read the real
Because of the classloading hierarchy. Once the logger is
initialized with the common classloader, everybody uses that
one.
Thanks. I studied the Apache logger code.
When we call org.apache.log4j.Logger.getLogger(), it calls functions of
LogManager. The static initializer block of
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
Subject: RE: How to have multiple loggers with shared code
also using the logger?
And since the log4j.jar resides in the ${catalina.home}/lib
folder, this root logger is used by all web apps.
The log4j.jar is only there
-Original Message-
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
How to have multiple loggers with shared code also using the logger?
This is more of a log4j question that a Tomcat one. From a brief look at the
log4j sources it looks as if you'll need a custom
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
Subject: How to have multiple loggers with shared code also
using the logger?
How to have multiple loggers with shared code also using the logger?
In ${catalina.home}/lib there is a jar file that contains class MyLog.
Doctor
[mailto:removeps-gro...@yahoo.com]
Subject: How to have multiple loggers with shared code
also
using the logger?
How to have multiple loggers with shared code also
using the logger?
In ${catalina.home}/lib there is a jar file that
contains class MyLog.
Doctor, doctor, it hurts when I
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com]
Subject: RE: How to have multiple loggers with shared code
also using the logger?
Why is it what I'm trying to do not working though? It seems
that my MyLog.getLogger function does find the correct logger
name, and that
How to have multiple loggers with shared code also using the logger?
In ${catalina.home}/lib there is a jar file that contains class MyLog. There
is a function in it
public class MyLog
{
public static Logger getLogger()
{
ClassLoader classLoader =
10 matches
Mail list logo