debug info
authorrk <rk>
Mon, 4 Feb 2002 20:43:30 +0000 (20:43 +0000)
committerrk <rk>
Mon, 4 Feb 2002 20:43:30 +0000 (20:43 +0000)
source/mircoders/producer/ProducerStartPage.java

index 93b4ff6..8030959 100755 (executable)
@@ -101,9 +101,7 @@ public class ProducerStartPage extends Producer {
       currentContent = (EntityContent)entityList.elementAt(i);
       try {
           //fetching/setting the images
-          theLog.printDebugInfo("############### getting medialist");
           upMediaEntityList = DatabaseContentToMedia.getInstance().getUploadedMedia(currentContent);
-          theLog.printDebugInfo("############### got medialist");
           if (upMediaEntityList!=null && upMediaEntityList.getCount()>=1) {
             tinyIcon = null;
             iconAlt = null;
@@ -156,6 +154,7 @@ public class ProducerStartPage extends Producer {
         theLog.printError("Producer.StartPage error id: " + currentContent.getId() + ", skipping"+e.toString());
       }
     }
+    theLog.printDebugInfo("############### got newswire");
 
     // get the startarticle and the related images
     whereClause="is_published=true AND to_article_type=4";
@@ -225,12 +224,15 @@ public class ProducerStartPage extends Producer {
       }
     } //enf for featurueList.size..
 
+    theLog.printDebugInfo("############### got startitems");
+
     // get the breaking news
     // only the first 5
     // todo: the number of breaking_news items have to be configurable
     ModuleBreaking breakingModule = new ModuleBreaking(DatabaseBreaking.getInstance());
     entityList = breakingModule.getByWhereClause(null,"webdb_create desc",0,5);
     SimpleList breakingList = HTMLTemplateProcessor.makeSimpleList(entityList);
+    theLog.printDebugInfo("############### got breaking");
 
     // get the articles
     whereClause="is_published=true AND to_article_type=2";
@@ -296,6 +298,7 @@ public class ProducerStartPage extends Producer {
         theLog.printError("Producer.StartPage error id: " + currentContent.getId() + ", skipping"+e.toString());
       }
     } //enf for featurueList.size..
+    theLog.printDebugInfo("############### got featurelist");
 
     // Zusaetzlich Informationen
     startPageModel = new SimpleHash();