Logging using a org.soitoolkit.commons.mule.log.LogTransformer in a catch- or
rollback exception strategy does not work, no log is written due to this code:
---
@Override
public Object transformMessage(MuleMessage message, String outputEncoding) throws TransformerException {
try {
// Skip logging if an error has occurred, then the error is logged by an error handler
ExceptionPayload exp = message.getExceptionPayload();
if (exp != null) {
log.debug("Skip logging message, exception detected! " + exp.getException().getMessage());
return message;
}
---
Suggest we either make the behaviour configurable - or re-implement the
logtransformer for use with exception-strategies.
Original issue reported on code.google.com by hakan.d...@gmail.com on 9 Nov 2013 at 8:50
Original issue reported on code.google.com by
hakan.d...@gmail.com
on 9 Nov 2013 at 8:50