cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples ApplesProcessor.java
Date Fri, 29 Aug 2003 22:11:25 GMT
mpo         2003/08/29 15:11:25

  Modified:    src/blocks/apples/java/org/apache/cocoon/components/flow/apples
                        ApplesProcessor.java
  Log:
  Let logging include the continuation id.
  
  Revision  Changes    Path
  1.5       +3 -2      cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java
  
  Index: ApplesProcessor.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ApplesProcessor.java	26 Aug 2003 09:06:43 -0000	1.4
  +++ ApplesProcessor.java	29 Aug 2003 22:11:25 -0000	1.5
  @@ -84,9 +84,10 @@
   
           WebContinuation wk = this.continuationsMgr.createWebContinuation(app, null, TIMETOLIVE,
this);
   
  -        getLogger().debug("Pulling fresh apple through the lifecycle...");
           DefaultContext appleContext = new DefaultContext();
           appleContext.put("continuation-id", wk.getId());
  +
  +        getLogger().debug("Pulling fresh apple through the lifecycle... | continuationid="
+ wk.getId());
           
           //TODO: also add the componentManager for Apples that took the other approach
           LifecycleHelper.setupComponent(app, getLogger(), appleContext, this.serviceManager,
null, null, null);
  @@ -151,7 +152,7 @@
               env.redirect(false, res.getURI());
           } else {
               String uri = res.getURI();
  -            getLogger().debug("Apple forwards to " + uri + " with bizdata= " + res.getData());
  +            getLogger().debug("Apple forwards to " + uri + " with bizdata= " + res.getData()
+ " and continuationid= " + wk.getId());
               this.forwardTo(uri, res.getData(), wk, env);
           }
   
  
  
  

Mime
View raw message