directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r550357 - /directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/protocol/ChangePasswordProtocolHandler.java
Date Mon, 25 Jun 2007 05:40:26 GMT
Author: erodriguez
Date: Sun Jun 24 22:40:26 2007
New Revision: 550357

URL: http://svn.apache.org/viewvc?view=rev&rev=550357
Log:
Minor logging clean-up in protocol-changepw.

Modified:
    directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/protocol/ChangePasswordProtocolHandler.java

Modified: directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/protocol/ChangePasswordProtocolHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/protocol/ChangePasswordProtocolHandler.java?view=diff&rev=550357&r1=550356&r2=550357
==============================================================================
--- directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/protocol/ChangePasswordProtocolHandler.java
(original)
+++ directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/protocol/ChangePasswordProtocolHandler.java
Sun Jun 24 22:40:26 2007
@@ -83,7 +83,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( session.getRemoteAddress() + " CREATED : " + session.getTransportType()
);
+            log.debug( "{} CREATED:  {}", session.getRemoteAddress(), session.getTransportType()
);
         }
 
         if ( session.getTransportType() == TransportType.DATAGRAM )
@@ -113,7 +113,7 @@
 
     public void sessionIdle( IoSession session, IdleStatus status )
     {
-        log.debug( "{} IDLE({})", session.getRemoteAddress(), status );
+        log.debug( "{} IDLE ({})", session.getRemoteAddress(), status );
     }
 
 
@@ -126,7 +126,7 @@
 
     public void messageReceived( IoSession session, Object message )
     {
-        log.debug( "{} RCVD: {}", session.getRemoteAddress(), message );
+        log.debug( "{} RCVD:  {}", session.getRemoteAddress(), message );
 
         InetAddress clientAddress = ( ( InetSocketAddress ) session.getRemoteAddress() ).getAddress();
         ChangePasswordRequest request = ( ChangePasswordRequest ) message;
@@ -176,7 +176,7 @@
     {
         if ( log.isDebugEnabled() )
         {
-            log.debug( "{} SENT: {}", session.getRemoteAddress(), message );
+            log.debug( "{} SENT:  {}", session.getRemoteAddress(), message );
         }
     }
 



Mime
View raw message