You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/11/14 01:01:29 UTC

svn commit: rev 65551 - lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring

Author: gregor
Date: Sat Nov 13 16:01:29 2004
New Revision: 65551

Modified:
   lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java
Log:
BAD practice to log standard messages with log.error.

Modified: lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java	(original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/java/src/org/apache/lenya/cms/authoring/NewBlogEntryCreator.java	Sat Nov 13 16:01:29 2004
@@ -59,7 +59,7 @@
         month = fmtMM.format(date);
         day = fmtdd.format(date);
 
-        log.error(".init(): Initialize Creator: " + year + "/" + month + "/" + day);
+        log.debug(".init(): Initialize Creator: " + year + "/" + month + "/" + day);
     }
 
     /**
@@ -67,7 +67,7 @@
      */
     protected String getChildFileName(File parentDir, String childId, String language) {
         String newFilename = parentDir + File.separator + "entries" + File.separator + year + File.separator + month + "/" + day + "/" + childId + "/index.xml";
-        log.error(".getChildFileName(): " + newFilename);
+        log.debug(".getChildFileName(): " + newFilename);
         return newFilename;
     }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org