Page 1 of 1

Logging Incoming/outgoing messages

Posted: 03 Jun 2009, 07:41
by BigFIsh
If you turn on these:
<DebugIncomingMessages>true</DebugIncomingMessages>
<DebugOutGoingMessages>true</DebugOutGoingMessages>

it will log to both console and log files. It could be nice to have an separate option that allows logging outgoing and/or incoming messages to log files regardless to outputting to console.

That way I can check my console for serious warnings, and check my log files for incoming and outgoing messages (during beta testing)

Posted: 04 Jun 2009, 09:16
by Lapo
Yeah, most of this problem is related with the JDK logging framework which I have to admit sucks pretty badly when compared to some other well known alternatives ( i.e. log4j )

Next major version is using log4j and a vastly refactored logging system.

Posted: 18 Aug 2009, 18:16
by Nebulous
It might also be nice if you could also change the logging level of the "DATA IN" and "DATA OUT" messages. INFO seems pretty high, causing a bunch of messages which can get in the way of debugging server extensions.