dgraham     2003/03/26 19:06:12

  Modified:    src/share/org/apache/struts/tiles TilesRequestProcessor.java
  Log:
  Changed error to info log if DefinitionsFactory is not supplied.  PR #18394.
  
  Revision  Changes    Path
  1.19      +5 -5      
jakarta-struts/src/share/org/apache/struts/tiles/TilesRequestProcessor.java
  
  Index: TilesRequestProcessor.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/TilesRequestProcessor.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- TilesRequestProcessor.java        27 Mar 2003 03:04:14 -0000      1.18
  +++ TilesRequestProcessor.java        27 Mar 2003 03:06:12 -0000      1.19
  @@ -126,9 +126,9 @@
       definitionsFactory = 
((TilesUtilStrutsImpl)TilesUtil.getTilesUtil()).getDefinitionsFactory(getServletContext(),
 moduleConfig);
       if( definitionsFactory == null )
         {  // problem !
  -        if(log.isErrorEnabled())
  +        if(log.isInfoEnabled())
             {
  -            log.error( "Definition Factory not found for module '"
  +            log.info( "Definition Factory not found for module '"
                   + moduleConfig.getPrefix() + "'. "
                   + "Have you declared the appropriate plugin in struts-config.xml ?" 
);
             }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to