You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by mi...@apache.org on 2003/01/14 14:30:09 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/acting ClearCacheAction.java

michaelm    2003/01/14 05:30:09

  Modified:    src/java/org/apache/cocoon/acting ClearCacheAction.java
  Log:
  Fixed up Log comment and added isEnabled check.
  
  Revision  Changes    Path
  1.3       +3 -1      xml-cocoon2/src/java/org/apache/cocoon/acting/ClearCacheAction.java
  
  Index: ClearCacheAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/acting/ClearCacheAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClearCacheAction.java	5 Dec 2002 09:23:33 -0000	1.2
  +++ ClearCacheAction.java	14 Jan 2003 13:30:09 -0000	1.3
  @@ -79,7 +79,9 @@
               cache.clear();
               return EMPTY_MAP;
           } catch (Exception ex) {
  -            getLogger().debug("Exception while trying to Clearing the Cache", ex);
  +	    if (this.getLogger().isDebugEnabled()) {
  +                getLogger().debug("Exception while trying to Clear Cache", ex);
  +            }
               return null;
           } finally {
               this.manager.release( cache );
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Re: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/acting ClearCacheAction.java

Posted by Michael Melhem <mi...@fztig938.bank.dresdner.net>.
On Tue, Jan 14, 2003 at 02:40:09PM +0100, Carsten Ziegeler wrote:
> Welcome to the party, Michael!

Thanks Carsten, I Love a good Party :)

Michael

> 
> Carsten
> 
> > -----Original Message-----
> > From: michaelm@apache.org [mailto:michaelm@apache.org]
> > <snipped unimportant commit :) >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/acting ClearCacheAction.java

Posted by Stefano Mazzocchi <st...@apache.org>.
Carsten Ziegeler wrote:
> Welcome to the party, Michael!

Yep. :)

-- 
Stefano Mazzocchi                               <st...@apache.org>
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/acting ClearCacheAction.java

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Welcome to the party, Michael!

Carsten

> -----Original Message-----
> From: michaelm@apache.org [mailto:michaelm@apache.org]
> <snipped unimportant commit :) >

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org