jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hc...@apache.org
Subject svn commit: r391496 - /jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java
Date Wed, 05 Apr 2006 05:10:27 GMT
Author: hchar
Date: Tue Apr  4 22:10:26 2006
New Revision: 391496

URL: http://svn.apache.org/viewcvs?rev=391496&view=rev
Log:
remove redundant logging; 
replace print with log.warn;
remove print;

Modified:
    jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java

Modified: jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java
URL: http://svn.apache.org/viewcvs/jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java?rev=391496&r1=391495&r2=391496&view=diff
==============================================================================
--- jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java
(original)
+++ jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/remote/server/RemoteCacheServer.java
Tue Apr  4 22:10:26 2006
@@ -852,7 +852,7 @@
                 if ( !q.isWorking() )
                 {
                     itr.remove();
-                    print( "Cache event queue " + q + " is not working and removed from cache
server." );
+                    log.warn( "Cache event queue " + q + " is not working and removed from
cache server." );
                 }
             }
         }
@@ -918,7 +918,6 @@
                         {
                             log.info( "adding vm listener under new id = " + listenerIdB
);
                         }
-                        print( "adding vm listener under new id = " + listenerIdB );
                     }
                     else
                     {
@@ -1159,15 +1158,5 @@
         throws IOException
     {
         return cacheManager.getStats();
-    }
-
-    /**
-     * Short cut for writing to system out.
-     * 
-     * @param s
-     */
-    private static void print( String s )
-    {
-        System.out.println( "RemoteCacheServer:" + s + " >" + Thread.currentThread().getName()
);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


Mime
View raw message