directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject [directory-fortress-core] branch master updated: cleanup logging
Date Sun, 15 Sep 2019 17:00:53 GMT
This is an automated email from the ASF dual-hosted git repository.

smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 543a260  cleanup logging
543a260 is described below

commit 543a2604d38db6a6d114eac5b50ab0844e656dba
Author: smckinney <smckinney@apache.org>
AuthorDate: Sun Sep 15 12:00:46 2019 -0500

    cleanup logging
---
 src/main/java/org/apache/directory/fortress/core/util/Config.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/directory/fortress/core/util/Config.java b/src/main/java/org/apache/directory/fortress/core/util/Config.java
index da41282..8b96bf9 100755
--- a/src/main/java/org/apache/directory/fortress/core/util/Config.java
+++ b/src/main/java/org/apache/directory/fortress/core/util/Config.java
@@ -252,7 +252,6 @@ public final class Config
             else
             {
                 LOG.warn( "getInt invalid config, can't read prop [{}]", key );
-
             }
         }
         catch (org.apache.commons.configuration.ConversionException e)
@@ -364,7 +363,7 @@ public final class Config
         }
         else
         {
-            LOG.warn( "setProperty invalid config, can't set prop name {}, value {}" + name,
value);
+            LOG.warn( "setProperty invalid config, can't set prop name [{}], value [{}]"
+ name, value);
         }
     }
 
@@ -381,7 +380,7 @@ public final class Config
         }
         else
         {
-            LOG.warn( "clearProperty invalid config, prop name {}", name );
+            LOG.warn( "clearProperty invalid config, prop name [{}]", name );
         }
     }
 
@@ -407,8 +406,7 @@ public final class Config
         {
             if ( ce.getErrorId() == GlobalErrIds.FT_CONFIG_NOT_FOUND )
             {
-                String warning = "getRemoteConfig could not find cfg entry";
-                LOG.warn( warning );
+                LOG.warn( "getRemoteConfig could not find cfg entry [{}]", realmName );
             }
             else
             {


Mime
View raw message