[spring-extensions] branch master updated: Comment commons logging for now.

Scott Cantor cantor.2 at osu.edu
Tue Oct 23 22:47:30 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=048c202c89bf72cce27002dd0b81092934184314

The following commit(s) were added to refs/heads/master by this push:
       new  048c202   Comment commons logging for now.
048c202 is described below

commit 048c202c89bf72cce27002dd0b81092934184314
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Oct 23 22:47:26 2018 -0400

    Comment commons logging for now.
---
 src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java b/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java
index e9110e8..18cb68c 100644
--- a/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java
+++ b/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java
@@ -199,9 +199,12 @@ public class VelocityView extends AbstractTemplateView {
             template = getTemplate(getUrl());
             return true;
         } catch (final ResourceNotFoundException ex) {
+            /*
+             * TODO: uncomment once we have a commons logging answer
             if (logger.isDebugEnabled()) {
                 logger.debug("No Velocity view found for URL: " + getUrl());
             }
+            */
             return false;
         } catch (final Exception ex) {
             throw new NestedIOException(
@@ -285,9 +288,12 @@ public class VelocityView extends AbstractTemplateView {
      */
     protected void doRender(@Nonnull final Context context, @Nonnull final HttpServletResponse response)
             throws Exception {
+        /*
+         * TODO: uncomment once we have a commons logging solution
         if (logger.isDebugEnabled()) {
             logger.debug("Rendering Velocity template [" + getUrl() + "] in VelocityView '" + getBeanName() + "'");
         }
+        */
         mergeTemplate(getTemplate(), context, response);
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list