From: Roland Häder Date: Mon, 29 Aug 2016 10:57:25 +0000 (+0200) Subject: log also class name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9822626f10b3b2d14cc994f7af09e13ec9522fde;p=jcoreee.git log also class name --- diff --git a/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java b/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java index 942f30f..07e54ae 100644 --- a/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java +++ b/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java @@ -97,7 +97,7 @@ public abstract class BaseDatabaseBean implements Serializable { */ protected void sendMessage (final ObjectMessage message, final MessageProducer messageProducer) throws JMSException { // Trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("sendMessage: message={0},messageProducer={1} - CALLED!", message, messageProducer)); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.sendMessage: message={1},messageProducer={2} - CALLED!", this.getClass().getSimpleName(), message, messageProducer)); //NOI18N // The parameter should be valid if (null == message) { @@ -112,7 +112,7 @@ public abstract class BaseDatabaseBean implements Serializable { messageProducer.send(message); // Trace message - this.getLoggerBeanLocal().logTrace("sendMessage: EXIT!"); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.sendMessage: EXIT!", this.getClass().getSimpleName())); //NOI18N } }