Revision: 1257
          http://stripes.svn.sourceforge.net/stripes/?rev=1257&view=rev
Author:   bengunter
Date:     2010-06-09 20:02:10 +0000 (Wed, 09 Jun 2010)

Log Message:
-----------
STS-391: Added debug log entry at start/end of stringifying a component

Modified Paths:
--------------
    
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java

Modified: 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java
===================================================================
--- 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java
  2010-06-09 00:39:44 UTC (rev 1256)
+++ 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java
  2010-06-09 20:02:10 UTC (rev 1257)
@@ -187,6 +187,8 @@
         String contents;
         context.getOut().openBuffer(pageContext);
         try {
+            log.debug("Start stringify \"", componentName, "\" in ", 
context.getRenderPage(),
+                    " -> ", context.getDefinitionPage());
             write();
         }
         catch (Exception e) {
@@ -196,6 +198,9 @@
             return "[Failed to render \"" + componentName + "\". See log for 
details.]";
         }
         finally {
+            log.debug("End stringify \"", componentName, "\" in ", 
context.getRenderPage(), " -> ",
+                    context.getDefinitionPage());
+
             contents = context.getOut().closeBuffer(pageContext);
             if ("".equals(contents)) {
                 log.debug("Component \"", componentName,


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to