syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/2] syncope git commit: Better reporting for unusual - yet not necessairly errorenous - situation
Date Mon, 12 Mar 2018 12:36:57 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 6aee50988 -> 56ac0a765
  refs/heads/master 696a098e5 -> 7c53afa08


Better reporting for unusual - yet not necessairly errorenous - situation


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/56ac0a76
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/56ac0a76
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/56ac0a76

Branch: refs/heads/2_0_X
Commit: 56ac0a7659c3286f803b79849c9c7bad7b498c76
Parents: 6aee509
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Mon Mar 12 13:36:36 2018 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Mon Mar 12 13:36:36 2018 +0100

----------------------------------------------------------------------
 .../syncope/core/provisioning/java/utils/MappingUtils.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/56ac0a76/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/MappingUtils.java
----------------------------------------------------------------------
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/MappingUtils.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/MappingUtils.java
index 67f2fe0..f0b2551 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/MappingUtils.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/MappingUtils.java
@@ -119,7 +119,7 @@ public final class MappingUtils {
     public static Name evaluateNAME(final Any<?> any, final Provision provision, final
String connObjectKey) {
         if (StringUtils.isBlank(connObjectKey)) {
             // LOG error but avoid to throw exception: leave it to the external resource
-            LOG.error("Missing ConnObjectKey for '{}': ", provision.getResource());
+            LOG.warn("Missing ConnObjectKey value for {}: ", provision.getResource());
         }
 
         // Evaluate connObjectKey expression
@@ -151,7 +151,7 @@ public final class MappingUtils {
     public static Name evaluateNAME(final Realm realm, final OrgUnit orgUnit, final String
connObjectKey) {
         if (StringUtils.isBlank(connObjectKey)) {
             // LOG error but avoid to throw exception: leave it to the external resource
-            LOG.error("Missing ConnObjectKey for '{}': ", orgUnit.getResource());
+            LOG.warn("Missing ConnObjectKey value for {}: ", orgUnit.getResource());
         }
 
         // Evaluate connObjectKey expression


Mime
View raw message