directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r371155 - /directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SearchRequestGrammar.java
Date Sun, 22 Jan 2006 00:36:19 GMT
Author: elecharny
Date: Sat Jan 21 16:36:16 2006
New Revision: 371155

URL: http://svn.apache.org/viewcvs?rev=371155&view=rev
Log:
Fixed the logs

Modified:
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SearchRequestGrammar.java

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SearchRequestGrammar.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SearchRequestGrammar.java?rev=371155&r1=371154&r2=371155&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SearchRequestGrammar.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/codec/search/SearchRequestGrammar.java
Sat Jan 21 16:36:16 2006
@@ -150,13 +150,13 @@
                             catch ( InvalidNameException ine )
                             {
                             	String msg = "The root DN " + baseObject.toString() + " is invalid";

-                                log.error( msg + " : " + ine.getMessage());
+                                log.error( "{} : {}", msg, ine.getMessage());
                                 throw new DecoderException( msg, ine );
                             }
                             catch ( NamingException ne )
                             {
                             	String msg = "The root DN " + baseObject.toString() + " cannot
be modified";
-                                log.error( msg + " : " + ne.getMessage() );
+                                log.error( "{} : {}", msg, ne.getMessage() );
                                 throw new DecoderException( msg, ne );
                             }
                         }



Mime
View raw message