Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 83193 invoked from network); 14 Nov 2003 08:50:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Nov 2003 08:50:37 -0000 Received: (qmail 83087 invoked by uid 500); 14 Nov 2003 08:50:09 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 83027 invoked by uid 500); 14 Nov 2003 08:50:08 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 83007 invoked from network); 14 Nov 2003 08:50:08 -0000 Received: from unknown (HELO priorweb.be) (213.193.229.2) by daedalus.apache.org with SMTP; 14 Nov 2003 08:50:08 -0000 Received: (qmail 22352 invoked from network); 14 Nov 2003 08:50:19 -0000 Received: from unknown (HELO domek.be) (62.138.233.100) by 0 with SMTP; 14 Nov 2003 08:50:19 -0000 Message-ID: <3FB4971B.70601@domek.be> Date: Fri, 14 Nov 2003 09:49:31 +0100 From: Jorg Heymans User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: nested diagnostic contexts (log4j) and cocoon Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Maybe this topic was too advanced for the users-list so I'm reposting it here. In short: anyone familiar with NDC in log4j knows how to get a similar concept running in cocoon using logkit? In the generator i would do a NDC.push("identstring") and in the serializer a NDC.remove(). Hope this question is clear enough now. tnx Jorg -------- Original Message -------- Subject: nested diagnostic contexts and cocoon Date: Thu, 13 Nov 2003 17:37:49 +0100 From: Jorg Heymans Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Hi, Is there any way of using log4j-alike NDC's in the cocoon 2.04 logging mechanism? I need to be able to make coherent logging output of an execution path that consists of multiple pipelines, transformers (both custom and standard), and this under high load? With log4j, you would push an identifying string onto the logging framework at the entry point of the application. Subsequent logging output (within the same thread?) would then have this string prepended in the output as well, at the exit point (ie request done) you would pop this string off again. Is similar stuff possible in cocoon? I would rather not incorporate log4j unless it's very easy to do thoughts? Jorg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org