Hi Frank I *think* system.out/err goes to catalina.out.
If you are using log4j, but happen to write a few system.outs, you might
want to do something like this in your Application class:
/* redirect stdout/stderr to log4j */
System.setOut(new PrintStream(new
LoggingOutputStream(Category.getInstance("sysout"), Priority.INFO), true));
System.setErr(new PrintStream(new
LoggingOutputStream(Category.getInstance("syserr"), Priority.WARN), true));
LoggingOutputStream is attached to this mail.
/jan
> To debug an application I've inserted a System.out.println command.
> Where is System.out when I'm running Wicket on Tomcat? Is it captured
> by some special Wicket logfile (I can't find any)? It doesn't seem to
> be going to any of the Tomcat logfiles that I can see, nor to the
> console window (unless I'm just missing it).\
>
> Is this something I have to configure in Tomcat to see the output of
> System.out?
LoggingOutputStream.java
Description: Binary data
