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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]