tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francesco Pellegrini" <>
Subject R: Tomcat 5 : DEBUG level
Date Thu, 15 Apr 2004 13:53:19 GMT
I'll try to use log4j.

Thanks for your kind attention


-----Messaggio originale-----
Da: Shapira, Yoav []
Inviato: giovedi 15 aprile 2004 15.48
A: Tomcat Users List
Oggetto: RE: Tomcat 5 : DEBUG level


>When I was in Servlet class or in JSP pages  I can use it, but How can
>message if I'm in Model or Controller layer ( my application is
>for examples in MyDBConnection.class and I don't have a ServletContext?

You original question asked only about servlets and JSPs.  You can pass
the ServletContext around if you'd like, or for a cleaner solution pick
up a logging toolkit like log4j.

Yoav Shapira

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message