|
From: Leif M. <le...@ta...> - 2006-08-10 14:12:48
|
Mark, The WARN and above messages will currently only log such messages from the wrapper process itself. The problem is that all console output from the JVM process is currently, and has always been, logged at the INFO log level. That is why you are not seeing those exceptions. If you want, you can make use of the WrapperManager.log method to log to any supported log level. It is possible to write a log target for Log4J for example that would send output to this method. This rides on top of the same socket that handles pings between the wrapper and JVM however, so you need to be careful not to overload it. I have on my to do list, implementation of a feature that will allow log level information to be sent to the wrapper through the console output itself. I have it pretty much figured out. I just need to get it implemented. Cheers, Leif Mark Modrall wrote: > > Hi… > > We’re running a java app using JSW, and we ran into an odd logging > issue last night. We’d set it up to log any error and above to the > event log, but when our app threw an unhandled java exception and > quit, nothing got logged. Only when I set the log level to INFO did > anything come out. I would have thought getting out to the wrapper > with an unhandled exception would have counted as an error. Shouldn’t it? > > Thanks > > -Mark > |