I have put it to false in latest builds. I use such flags for testing and development. They should normally be set to false in struts sources.
Cedric Holman, Cal wrote: >Cedric>> There is a debug flag set to true in the TilesRequestProcessor. >Can you make it configurable? Do I open a bug? > >Cal > >http://www.calandva.com/ > >-----Original Message----- >From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] >Sent: Sunday, August 18, 2002 17:38 >To: Struts Users Mailing List >Subject: Re: tons of tiles debug messages! > > > hi, > > This is for struts 1.1b2. > For struts 1.0.x, you specify definition factory configuration in >web.xml. Attribute names and values are the same. In your case, set all >debug attributes to 0 (zero), or remove them from web.xml (zero is the >default value). > > Cedric > >mpopovits.rm wrote: > > > >>Is this for Struts 1.1 or 1.0? >>I'm using Struts 1.0. >>If so, where does it go in the struts config file. >> >>Thanks, >>Michelle >>--- In [EMAIL PROTECTED], Herve Tchepannou <[EMAIL PROTECTED]> wrote: >> >> >> >> >>>The debug configuation should be in your Tile-Plugin configuration. >>>Make sure that the Tiles plugin is defined like this in your >>>struts-config.xml file: >>> >>><!-- ========== Plugins Definitions ============================== - >>> >>> >>> >>> >>-> >> >> >> >> >>> <plug-in className="org.apache.struts.tiles.TilesPlugin" > >>> <set-property property="definitions-config" >>>value="/WEB-INF/tiles-defs.xml" /> >>> <set-property property="definitions-debug" value="0" /> >>> <set-property property="definitions-parser-details" >>> >>> >>> >>> >>value="0" /> >> >> >> >> >>> <set-property property="definitions-parser-validate" >>> >>> >>> >>> >>value="true" /> >> >> >> >> >>> </plug-in> >>> >>>-----Original Message----- >>>From: mpopovits.rm [mailto:mpopovits@h...] >>>Sent: Friday, August 16, 2002 11:28 AM >>>To: [EMAIL PROTECTED] >>>Subject: tons of tiles debug messages! >>> >>> >>>When I bring up my weblogic server which uses tiles I get pages and >>>pages of tiles debug messages from the apache commons digester. >>>How do I get rid of these? I've reduced my action servlet debug >>>parms all down to 0, but they still torment me. >>> >>>-Please help. >>> >>>Thanks, >>>Michelle >>> >>> >>>Here's my action servlet config from web.xml. >>> >>> <servlet> >>> <servlet-name>action</servlet-name> >>> <!-- Specify servlet class to use >>> If you also plan to use Struts, use >>>ActionComponentServlet >>> If you don't need Struts, use TilesServlet --> >>> <servlet- >>>class>org.apache.struts.tiles.ActionComponentServlet</servlet- >>>class> >>> <!-- Tiles Servlet parameter >>> Specify configuration file names. There can be >>>several comma >>> separated file names >>> --> >>> <init-param> >>> <param-name>definitions-config</param-name> >>> <param-value>/WEB-INF/tiles-defs.xml</param-value> >>> </init-param> >>> >>> <!-- Tiles Servlet parameter >>> Specify Tiles debug level. >>> O : no debug information >>> 1 : debug information >>> 2 : more debug information >>> --> >>> <init-param> >>> <param-name>definitions-debug</param-name> >>> <param-value>0</param-value> >>> </init-param> >>> >>> <!-- Tiles Servlet parameter >>> Specify Digester debug level. This value is passed to >>>Digester >>> O : no debug information >>> 1 : debug information >>> 2 : more debug information >>> --> >>> <init-param> >>> <param-name>definitions-parser-details</param-name> >>> <param-value>0</param-value> >>> </init-param> >>> >>> <!-- Tiles Servlet parameter >>> Specify if xml parser should validate the Tiles >>>configuration file. >>> true : validate. DTD should be specified in file >>>header. >>> false : no validation >>> --> >>> <init-param> >>> <param-name>definitions-parser-validate</param-name> >>> <param-value>true</param-value> >>> </init-param> >>> >>> <init-param> >>> <param-name>application</param-name> >>> <param-value>ApplicationResources</param-value> >>> </init-param> >>> <init-param> >>> <param-name>config</param-name> >>> <param-value>/WEB-INF/struts-config.xml</param-value> >>> </init-param> >>> <init-param> >>> <param-name>debug</param-name> >>> <param-value>0</param-value> >>> </init-param> >>> <init-param> >>> <param-name>detail</param-name> >>> <param-value>0</param-value> >>> </init-param> >>> <init-param> >>> <param-name>validate</param-name> >>> <param-value>true</param-value> >>> </init-param> >>> <init-param> >>> <param-name>nocache</param-name> >>> <param-value>true</param-value> >>> </init-param> >>> <load-on-startup>2</load-on-startup> >>> </servlet> >>> >>> <servlet> >>> <servlet-name>validator</servlet-name> >>> <servlet- >>>class>com.wintecinc.struts.action.ValidatorServlet</servlet-class> >>> <init-param> >>> <param-name>config</param-name> >>> <param-value>/WEB-INF/validation.xml</param-value> >>> </init-param> >>> <init-param> >>> <param-name>debug</param-name> >>> <param-value>0</param-value> >>> </init-param> >>> <load-on-startup>2</load-on-startup> >>></servlet> >>> >>> >>> >>>--here's an excerpt of the messages that I get on the console >>> >>> >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - startEl >>>ement(,tiles-definitions,tiles-definitions) >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> Pushing b >>>ody text '' >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> New match >>>='tiles-definitions' >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> No rules >>>found matching 'tiles-definitions'. >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> >>> ) >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> ) >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> ) >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> >>> ) >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> ) >>>2002-08-16 11:21:44,619 DEBUG >>>org.apache.commons.digester.Digester.sax - startEl >>>ement(,definition,definition) >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> Pushing b >>>ody text '' >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> New match >>>='tiles-definitions/definition' >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for ObjectCreateRule >>>[className=org.apache.struts.tiles.xmlDefinition.XmlDefi >>>nition, attributeName=null] >>>2002-08-16 11:21:44,619 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[ObjectCrea >>>teRule]{tiles-definitions/definition}New >>>org.apache.struts.tiles.xmlDefinition.X >>>mlDefinition >>>2002-08-16 11:21:44,665 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for SetPropertiesRule[] >>>2002-08-16 11:21:44,665 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetPropert >>>iesRule]{tiles-definitions/definition} Setting property 'name' >>>to 'site.mainLayo >>>ut' >>>2002-08-16 11:21:44,665 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetPropert >>>iesRule]{tiles-definitions/definition} Setting property 'path' >>>to '/jsp/layouts/ >>>classicLayout.jsp' >>>2002-08-16 11:21:44,665 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetPropert >>>iesRule]{tiles-definitions/definition} Set >>>org.apache.struts.tiles.xmlDefinition >>>.XmlDefinition properties >>>2002-08-16 11:21:44,681 DEBUG >>> >>> >>> >>> >>org.apache.commons.beanutils.BeanUtils - >> >> >> >> >>>BeanUtils >>>.populate({name=null, path=null, role=null, controller=null, >>>controllerType=null >>>, controllerInstance=null, attributes={}} >>>, {name=site.mainLayout, path=/jsp/layouts/classicLayout.jsp}) >>>2002-08-16 11:21:44,681 DEBUG >>> >>> >>> >>> >>org.apache.commons.beanutils.BeanUtils - >> >> >> >> >>> setProp >>>erty({name=null, path=null, role=null, controller=null, >>>controllerType=null, con >>>trollerInstance=null, attributes={}} >>>, name, site.mainLayout) >>>2002-08-16 11:21:44,837 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Conver >>>t string 'site.mainLayout' to class 'java.lang.String' >>>2002-08-16 11:21:44,837 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Usin >>>g converter >>>org.apache.commons.beanutils.converters.StringConverter@6ef992 >>>2002-08-16 11:21:44,837 DEBUG >>> >>> >>> >>> >>org.apache.commons.beanutils.BeanUtils - >> >> >> >> >>> setProp >>>erty({name=site.mainLayout, path=null, role=null, controller=null, >>>controllerTyp >>>e=null, controllerInstance=null, attributes={}} >>>, path, /jsp/layouts/classicLayout.jsp) >>>2002-08-16 11:21:44,837 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Conver >>>t string '/jsp/layouts/classicLayout.jsp' to >>> >>> >>> >>> >>class 'java.lang.String' >> >> >> >> >>>2002-08-16 11:21:44,837 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Usin >>>g converter >>>org.apache.commons.beanutils.converters.StringConverter@6ef992 >>>2002-08-16 11:21:44,837 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for SetNextRule[methodName=putDefinition, >>>paramType=org.apache.struts.tiles. >>>xmlDefinition.XmlDefinition] >>>2002-08-16 11:21:44,837 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> ) >>>2002-08-16 11:21:44,837 DEBUG >>>org.apache.commons.digester.Digester.sax - startEl >>>ement(,put,put) >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> Pushing b >>>ody text '' >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> New match >>>='tiles-definitions/definition/put' >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for ObjectCreateRule >>>[className=org.apache.struts.tiles.xmlDefinition.XmlAttr >>>ibute, attributeName=null] >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[ObjectCrea >>>teRule]{tiles-definitions/definition/put}New >>>org.apache.struts.tiles.xmlDefiniti >>>on.XmlAttribute >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for SetNextRule[methodName=addAttribute, >>>paramType=org.apache.struts.tiles.x >>>mlDefinition.XmlAttribute] >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for SetPropertiesRule[] >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetPropert >>>iesRule]{tiles-definitions/definition/put} Setting property 'name' >>>to 'title' >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetPropert >>>iesRule]{tiles-definitions/definition/put} Setting property 'value' >>>to 'Tiles Bl >>>ank Site' >>>2002-08-16 11:21:44,853 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetPropert >>>iesRule]{tiles-definitions/definition/put} Set >>>org.apache.struts.tiles.xmlDefini >>>tion.XmlAttribute properties >>>2002-08-16 11:21:44,853 DEBUG >>> >>> >>> >>> >>org.apache.commons.beanutils.BeanUtils - >> >> >> >> >>>BeanUtils >>>.populate >>> >>> >>> >>> >>(org.apache.struts.tiles.xmlDefinition.XmlAttribute@ee5bba, >> >> >> >> >>>{name=title >>>, value=Tiles Blank Site}) >>>2002-08-16 11:21:44,853 DEBUG >>> >>> >>> >>> >>org.apache.commons.beanutils.BeanUtils - >> >> >> >> >>> setProp >>>erty(org.apache.struts.tiles.xmlDefinition.XmlAttribute@ee5bba, >>> >>> >>> >>> >>name, >> >> >> >> >>>title) >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Conver >>>t string 'title' to class 'java.lang.String' >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Usin >>>g converter >>>org.apache.commons.beanutils.converters.StringConverter@6ef992 >>>2002-08-16 11:21:44,869 DEBUG >>> >>> >>> >>> >>org.apache.commons.beanutils.BeanUtils - >> >> >> >> >>> setProp >>>erty(org.apache.struts.tiles.xmlDefinition.XmlAttribute@ee5bba, >>>value, Tiles Bla >>>nk Site) >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Conver >>>t string 'Tiles Blank Site' to class 'java.lang.Object' >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Usin >>>g converter >>>org.apache.commons.beanutils.converters.StringConverter@6ef992 >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire begi >>>n() for CallMethodRule[methodName=setBody, paramCount=0, paramTypes= >>>{java.lang.S >>>tring}] >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.digester.Digester.sax - endElem >>>ent(,put,put) >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> match='ti >>>les-definitions/definition/put' >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> bodyText= >>>'' >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire body >>>() for ObjectCreateRule >>>[className=org.apache.struts.tiles.xmlDefinition.XmlAttri >>>bute, attributeName=null] >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire body >>>() for SetNextRule[methodName=addAttribute, >>>paramType=org.apache.struts.tiles.xm >>>lDefinition.XmlAttribute] >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire body >>>() for SetPropertiesRule[] >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire body >>>() for CallMethodRule[methodName=setBody, paramCount=0, paramTypes= >>>{java.lang.St >>>ring}] >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Popping b >>>ody text '' >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire end( >>>) for CallMethodRule[methodName=setBody, paramCount=0, paramTypes= >>>{java.lang.Str >>>ing}] >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Conver >>>t string '' to class 'java.lang.String' >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.ConvertUtils - Usin >>>g converter >>>org.apache.commons.beanutils.converters.StringConverter@6ef992 >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[CallMethod >>>Rule]{tiles-definitions/definition/put} Call >>>org.apache.struts.tiles.xmlDefiniti >>>on.XmlAttribute.setBody(/java.lang.String) >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire end( >>>) for SetPropertiesRule[] >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire end( >>>) for SetNextRule[methodName=addAttribute, >>>paramType=org.apache.struts.tiles.xml >>>Definition.XmlAttribute] >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[SetNextRul >>>e]{tiles-definitions/definition/put} Call >>>org.apache.struts.tiles.xmlDefinition. >>>XmlDefinition.addAttribute >>>(org.apache.struts.tiles.xmlDefinition.XmlAttribute@ee >>>5bba) >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.MethodUtils - Matchin >>>g name=addAttribute on class >>>org.apache.struts.tiles.xmlDefinition.XmlDefinition >>> >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.MethodUtils - Found m >>>atching name: >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.MethodUtils - public >>>void >>> >>> >>> >>> >>org.apache.struts.tiles.xmlDefinition.XmlDefinition.addAttribute >> >> >> >> >>>(org.apache >>>.struts.tiles.xmlDefinition.XmlAttribute) >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.MethodUtils - Param=o >>>rg.apache.struts.tiles.xmlDefinition.XmlAttribute >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.MethodUtils - Method= >>>org.apache.struts.tiles.xmlDefinition.XmlAttribute >>>2002-08-16 11:21:44,869 DEBUG >>>org.apache.commons.beanutils.MethodUtils - public >>>void >>> >>> >>> >>> >>org.apache.struts.tiles.xmlDefinition.XmlDefinition.addAttribute >> >> >> >> >>>(org.apache >>>.struts.tiles.xmlDefinition.XmlAttribute) accessible version of >>>public void org. >>>apache.struts.tiles.xmlDefinition.XmlDefinition.addAttribute >>>(org.apache.struts.t >>>iles.xmlDefinition.XmlAttribute) >>>2002-08-16 11:21:44,869 DEBUG org.apache.commons.digester.Digester - >>> Fire end( >>>) for ObjectCreateRule >>>[className=org.apache.struts.tiles.xmlDefinition.XmlAttrib >>>ute, attributeName=null] >>>2002-08-16 11:21:44,884 DEBUG org.apache.commons.digester.Digester - >>> >>> >>> >>> >> >> >> >>>[ObjectCrea >>>teRule]{tiles-definitions/definition/put} Pop >>>org.apache.struts.tiles.xmlDefinit >>>ion.XmlAttribute >>>2002-08-16 11:21:44,884 DEBUG >>>org.apache.commons.digester.Digester.sax - ignorab >>>leWhitespace( >>> ) >>> >>> >>> >>>-- >>>To unsubscribe, e-mail: >>><mailto:struts-user-unsubscribe@j...> >>>For additional commands, e-mail: >>><mailto:struts-user-help@j...> >>> >>> >>> >>> >>-- >>To unsubscribe, e-mail: >> >> ><mailto:[EMAIL PROTECTED]> > > >>For additional commands, e-mail: >> >> ><mailto:[EMAIL PROTECTED]> > > >> >> >> >> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>