You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jc...@apache.org on 2007/03/01 21:35:45 UTC

svn commit: r513488 - /incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java

Author: jcompagner
Date: Thu Mar  1 12:35:45 2007
New Revision: 513488

URL: http://svn.apache.org/viewvc?view=rev&rev=513488
Log:
stderr => debug log

Modified:
    incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java

Modified: incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java?view=diff&rev=513488&r1=513487&r2=513488
==============================================================================
--- incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java (original)
+++ incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java Thu Mar  1 12:35:45 2007
@@ -516,9 +516,12 @@
 		 */
 		public void stop()
 		{
-			System.err.println("Total time in saving: " + totalSavingTime);
-			System.err.println("Bytes saved: " + bytesSaved);
-			System.err.println("Pages saved: " + saved);
+			if ( log.isDebugEnabled())
+			{
+				log.debug("Total time in saving: " + totalSavingTime);
+				log.debug("Bytes saved: " + bytesSaved);
+				log.debug("Pages saved: " + saved);
+			}
 			stop = true;
 		}
 
@@ -637,9 +640,12 @@
 		 */
 		public void stop()
 		{
-			System.err.println("Total time in serialization: " + totalSerializationTime);
-			System.err.println("Total Pages serialized: " + serialized);
-			System.err.println("Pages serialized by thread: " + serializedInThread);
+			if ( log.isDebugEnabled())
+			{
+				log.debug("Total time in serialization: " + totalSerializationTime);
+				log.debug("Total Pages serialized: " + serialized);
+				log.debug("Pages serialized by thread: " + serializedInThread);
+			}
 			stop = true;
 		}