]> git.mxchange.org Git - jfinancials-mailer-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 9 Jul 2017 10:50:14 +0000 (12:50 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 9 Jul 2017 10:50:29 +0000 (12:50 +0200)
- also log class' name

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/model/mailer/FinancialsMailerSingletonBean.java

index efdb2a07e7ea750da71902fe619a379baf31c20e..19ca0499ea5bdb483a3c24efeae0e3d364e72c76 100644 (file)
@@ -106,7 +106,7 @@ public class FinancialsMailerSingletonBean extends BaseMailerBean implements Del
        @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 FinancialsMailerSingletonBean extends BaseMailerBean implements Del
                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
        }
 
 }