Hi .. look at http://tomcat.apache.org/faq/logging.html - basically
tomcat uses the commons logging so whatever logging you are using will
detected by the commons logging -( or else the default simple commons
output). If you are using log4j  -which i would- then you have to
configure the logging level. You can do this programmatically as you
tired, but using a config file is easier - you configure levels either
globally- or on a package level - see
http://logging.apache.org/log4j/1.2/manual.html for examples..


On 10/30/07, Sparky <[EMAIL PROTECTED]> wrote:
>
> Please help!
>
> [index.jsp]
>
> Logger log = Logger.getLogger("index.jsp");
>
> log.debug("this is debug");
> log.info("this is info"); -
> log.error("this is error");
>
> [console output]
>
> this is info
> this is error
>
> I tried playing with various tomcat settings, and also tried a
> log.setLevel(Level._ALL) without justice.
>
> Please help!
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to