directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r550367 - in /directory/clients/trunk/kerberos: client/src/main/java/org/apache/directory/client/kerberos/protocol/KerberosClientHandler.java password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
Date Mon, 25 Jun 2007 05:55:59 GMT
Author: erodriguez
Date: Sun Jun 24 22:55:59 2007
New Revision: 550367

URL: http://svn.apache.org/viewvc?view=rev&rev=550367
Log:
Minor logging clean-up in kerberos-clients.

Modified:
    directory/clients/trunk/kerberos/client/src/main/java/org/apache/directory/client/kerberos/protocol/KerberosClientHandler.java
    directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java

Modified: directory/clients/trunk/kerberos/client/src/main/java/org/apache/directory/client/kerberos/protocol/KerberosClientHandler.java
URL: http://svn.apache.org/viewvc/directory/clients/trunk/kerberos/client/src/main/java/org/apache/directory/client/kerberos/protocol/KerberosClientHandler.java?view=diff&rev=550367&r1=550366&r2=550367
==============================================================================
--- directory/clients/trunk/kerberos/client/src/main/java/org/apache/directory/client/kerberos/protocol/KerberosClientHandler.java
(original)
+++ directory/clients/trunk/kerberos/client/src/main/java/org/apache/directory/client/kerberos/protocol/KerberosClientHandler.java
Sun Jun 24 22:55:59 2007
@@ -44,7 +44,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( session.getRemoteAddress() + " CREATED : " + session.getTransportType()
);
+            log.debug( "{} CREATED:  {}", session.getRemoteAddress(), session.getTransportType()
);
         }
 
         if ( session.getTransportType() == TransportType.DATAGRAM )
@@ -64,7 +64,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( session.getRemoteAddress() + " RCVD: " + message );
+            log.debug( "{} RCVD:  {}", session.getRemoteAddress(), message );
         }
 
         session.setAttribute( "reply", message );

Modified: directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
URL: http://svn.apache.org/viewvc/directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java?view=diff&rev=550367&r1=550366&r2=550367
==============================================================================
--- directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
(original)
+++ directory/clients/trunk/kerberos/password/src/main/java/org/apache/directory/client/password/protocol/PasswordClientHandler.java
Sun Jun 24 22:55:59 2007
@@ -44,7 +44,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( "{} CREATED : {}", session.getRemoteAddress(), session.getTransportType()
);
+            log.debug( "{} CREATED:  {}", session.getRemoteAddress(), session.getTransportType()
);
         }
 
         if ( session.getTransportType() == TransportType.DATAGRAM )
@@ -64,7 +64,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( "{} RCVD: {}", session.getRemoteAddress(), message );
+            log.debug( "{} RCVD:  {}", session.getRemoteAddress(), message );
         }
 
         session.setAttribute( "reply", message );



Mime
View raw message