hihi,
the default logging in TC 5.5 uses JDK logging (ie. java.util.logging).
you need to create and place a logging.properties file in your web
app's classes folder. the following is what i use (replace
"servlet-examples" with your web app name):
<---- copy from below this line ---->
handlers = org.apache.juli.FileHandler,
java.util.logging.ConsoleHandler
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = servlet-examples.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter
<---- copy to the above line ---->
more info can be found here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html
hth,
woodchuck
--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> Was using JBoss and now I'm using Tomcat 5.5 stand-alone for an
> application I'm working on. I plop a war into webapps and it deploys
> fine but problems with some JNDI lookup and all kinds of errors dump
> to
> the console (Windows). What I'd like to know is how come I can't find
> a
> log file that shows all these errors in the log directory? Under
> jboss
> the server.log file shows all the console error garbage but I'm not
> geting anything like that with Tomcat5.5. I get stuff written to the
> localhost and catalina logs but nothing related to the huge
> stacktrace
> that is going beyond the buffer size of my console window. Any help
> with
> this log issue would be much appreciated.
>
> --
> Rick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]