tags:

views:

202

answers:

2

Hi,

I have a class in a WAR that I know prints some System.err.println output - where will this output end up?

Any help appreciated, thanks.

+1  A: 

I'm not a JBoss expert, but I've used it a little bit. Our .war would output the logs (both stdout and stderr) to the directory jboss/server/(servername)/log . Do you have this directory?

weiji
+1  A: 

JBoss redirects System.out and System.err to the console and to the log files in jboss/server/(serverinstance - generally default)/log/server.log.

Yishai