From 17e90d50c9502433d1e0e9937db2f5fdc155d1f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 9 Jul 2017 12:50:14 +0200 Subject: [PATCH] Please cherry-pick: - also log class' name MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jjobs/mailer/model/delivery/JobsMailerSingletonBean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java b/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java index b1ec48b..cdcb244 100644 --- a/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java +++ b/src/java/org/mxchange/jjobs/mailer/model/delivery/JobsMailerSingletonBean.java @@ -106,7 +106,7 @@ public class JobsMailerSingletonBean extends BaseMailerBean implements Deliverab @Override public void sendDeliverableMail (final WrapableEmailDelivery emailWrapper) throws MessagingException { // Log trace message - this.getLoggerBeanLocal().logTrace(MessageFormat.format("sendDeliverableMail: emailWrapper={0} - CALLED!", emailWrapper)); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.sendDeliverableMail: emailWrapper={1} - CALLED!", this.getClass().getSimpleName(), emailWrapper)); //NOI18N // The parameter must be valid if (null == emailWrapper) { @@ -167,7 +167,7 @@ public class JobsMailerSingletonBean extends BaseMailerBean implements Deliverab this.deliverMailWithTemplate(template, context, emailWrapper, this.mailSession); // Trace message - this.getLoggerBeanLocal().logTrace("sendDeliverableMail: EXIT!"); //NOI18N + this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.sendDeliverableMail: EXIT!", this.getClass().getSimpleName())); //NOI18N } } -- 2.39.5