wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcompag...@apache.org
Subject svn commit: r513488 - /incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/FilePageStore.java
Date Thu, 01 Mar 2007 20:35:45 GMT
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;
 		}
 



Mime
View raw message