cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl AbstractCachingProcessingPipeline.java
Date Thu, 09 Jan 2003 10:33:01 GMT
cziegeler    2003/01/09 02:33:01

  Modified:    src/java/org/apache/cocoon/components/pipeline/impl
                        AbstractCachingProcessingPipeline.java
  Log:
  Conrrecting debug message
  
  Revision  Changes    Path
  1.15      +4 -4      xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPipeline.java
  
  Index: AbstractCachingProcessingPipeline.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/pipeline/impl/AbstractCachingProcessingPipeline.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- AbstractCachingProcessingPipeline.java	8 Jan 2003 16:42:58 -0000	1.14
  +++ AbstractCachingProcessingPipeline.java	9 Jan 2003 10:33:01 -0000	1.15
  @@ -210,13 +210,13 @@
               }
           } else {
   
  -            if (this.getLogger().isDebugEnabled()) {
  -                this.getLogger().debug("Caching content for further requests of '" + environment.getURI()
+ "'.");
  +            if (this.getLogger().isDebugEnabled() && this.pipelineCacheKey != null)
{
  +                this.getLogger().debug("Caching content for further requests of '" + environment.getURI()
+ "' using key " + this.pipelineCacheKey);
               }
               try {
                   OutputStream os = null;
                   
  -                if ( this.cacheCompleteResponse ) {
  +                if ( this.cacheCompleteResponse && this.pipelineCacheKey != null)
{
                       os = new CachingOutputStream( environment.getOutputStream(this.outputBufferSize)
);
                   }
                   if ( super.serializer != super.lastConsumer ) {
  
  
  

----------------------------------------------------------------------
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


Mime
View raw message