Hi,
I've noticed that in new version 2.0 the logging level of incoming/outgoing messages is set to debug instead of info: I mean in Responder and Initiator class.
Can be set one of the 2 log to info level? For example the rawInbound and rowOutbound.
Tnx
You can instead set the log level of ca.uhn.hl7v2.raw.inbound and/or ca.uhn.hl7v2.raw.outbound to DEBUG, e.g. in your log4j.xml or log4j.properties when you use log4j as logger implementation.
I'm actually going to reopen this only as a reminder to myself (or anyone else) to get this documented. We've had a number of questions over the years about how to configure HAPI's logging, so I think it would be nice to have a page that mentions a few of the log levels that can be tweaked to expose bits of the functionality.
As a general rule IMHO HAPI tends to be much too verbose with it's INFO level logging, but I wouldn't want to change that much without at least providing guidance on how to use its logs to debug.