Bert Leunis pushed to branch release/3.2 at cms-community / hippo-site-toolkit


Commits:
68d47fd2 by Marijan Milicevic at 2016-10-21T10:40:03+02:00
HSTTWO-3808 ResourceContainer: Don't log warning when resource path is 
invalid
- do not log warning when path is invalid (except in debug mode)

- - - - -
9f06c4f2 by Marijan Milicevic at 2016-10-21T10:40:03+02:00
HSTTWO-3808 ResourceContainer: Don't log warning when resource path is 
invalid
- just log message at  info level

- - - - -


1 changed file:

- 
commons/src/main/java/org/hippoecm/hst/core/linking/AbstractResourceContainer.java


Changes:

=====================================
commons/src/main/java/org/hippoecm/hst/core/linking/AbstractResourceContainer.java
=====================================
--- 
a/commons/src/main/java/org/hippoecm/hst/core/linking/AbstractResourceContainer.java
+++ 
b/commons/src/main/java/org/hippoecm/hst/core/linking/AbstractResourceContainer.java
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2010-2014 Hippo B.V. (http://www.onehippo.com)
+ *  Copyright 2010-2016 Hippo B.V. (http://www.onehippo.com)
  * 
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -173,9 +173,8 @@ public abstract class AbstractResourceContainer implements 
ResourceContainer {
        } catch (PathNotFoundException e) {
            log.debug("Cannot find resource node for path '{}' beloning to 
pathInfo '{}'", actualPath, pathInfo);
        } catch (RepositoryException e) {
-           log.warn("RepositoryException: '{}'", e.getMessage());
+           log.info("RepositoryException: '{}'", e.getMessage());
        }
-        
         return null;
     }
 



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-site-toolkit/compare/93306c0a0d902e32377a004ee899fb18fe936742...9f06c4f2bcedaabd0a9b946f79190cc36717f730
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to