I'm trying to use context sensitive logging in
Tomcat 5.5. I've added the following to
%catalina_home%/conf/context.xml:
When I do
getServletContext().log( "TestMessage");, the message gets logged in
localhost and not
localhost_jmsorg. What am I doing wrong?
Also, I can get logging to work as above in
servlets, but how do I get it to work in Beans where I can't use
getServletContext?
TIA,
[ August 12, 2005: Message edited by: Tom Blough ]