remove the hardwiring of the meta data (needs next invocation metadata)
// TODO: This should be set by the caller when required
invocation.getMetaData().addMetaData(ThreadLocalAppender.LOG, ThreadLocalAppender.LOG, "Log", PayloadKey.AS_IS);
// Perform the invocation and dump any attached log
Object response = invocation.invokeNext();
if (response != null)
dumpLog(invocation);
return response;