Hi Jacob,

Jacob Lund wrote:

> Hi Dirk!

> When I set debug level to more than 2 I get a lot of blank lines. In
> fact I get so many empty spaces that I cannot se what output the
> catalina server has created since my console only has so many lines in
> the buffer. Is there someway that I can output this to a log file?

You can use log4j.
I'm using tomcat 3 so there can be small differences in file locations.

Put log4j.jar (http://jakarta.apache.org/log4j/) and log4jwrapper.jar in
webapps\slide\WEB-INF\lib
log4j.properties (attached) goes into webapps\slide\WEB-INF\classes
Then change the logger in domain.xml
<slide logger="log4j.Log4jLogger" logger-level="7" default="slide">

The log file doesn't get flushed so to get the last lines you have to stop
tomcat.

> Contents of the objects table
>         uri                     classname
>         /                       <Long Text>
>         /tempaction             <Long Text>

Something is being created, but I need the full log. Maybe try a tomcat 3 if
log4j doesn't work.


Dirk

log4j.properties

Reply via email to