[My mailer appears to be missing part of the thread, ignore this if the 
question's already been answered]

> From: Jonathan Mast [mailto:[EMAIL PROTECTED]
> getInstance(path) checks a static hashmap for path

Static held where?  In MultiLogger, and Multilogger is a class (or in a jar) 
that is deployed with each context?

> How will 2 copies of MultiLogger handle 2 requests for
> "com.mysite.stuff.foo.log" ?

They're two copies.  They're separate classes, loaded by separate classloaders, 
with separate copies of the static HashMap.  They will behave in that way, i.e. 
you'll get two different instances from your two requests.

If that's not what you want, you may want to investigate putting MultiLogger in 
common/lib - see the TC5.5 documentation about the classloader hierarchy.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to