Description
Flow tracing assumes that you can save an instance of EntryMessage across a method, but if you log something else within that method and reusable messages are in effect (as they are by default since 2.6), this does not always work properly.
This code illustrate the issue:
EntryMessage entryMessage = logger.traceEntry(logger.getMessageFactory().newMessage("the entry")); logger.info("something else"); logger.traceExit(entryMessage);
It works as expected if you remove the middle logger.info(), but with it the exit message gets messed up.