Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 5444 invoked from network); 11 Jan 2004 17:21:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Jan 2004 17:21:22 -0000 Received: (qmail 11638 invoked by uid 500); 11 Jan 2004 17:21:02 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 11613 invoked by uid 500); 11 Jan 2004 17:21:02 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 11590 invoked from network); 11 Jan 2004 17:21:01 -0000 Received: from unknown (HELO web40513.mail.yahoo.com) (66.218.78.130) by daedalus.apache.org with SMTP; 11 Jan 2004 17:21:01 -0000 Message-ID: <20040111172105.76423.qmail@web40513.mail.yahoo.com> Received: from [69.70.97.176] by web40513.mail.yahoo.com via HTTP; Sun, 11 Jan 2004 09:21:05 PST Date: Sun, 11 Jan 2004 09:21:05 -0800 (PST) From: Oscar Picasso Subject: Re: Logging to System.err or System.out To: users@cocoon.apache.org In-Reply-To: <20040111151316.GB22601@tux.wh17.tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Thanks for the answer. As a matter of fact yesterday I came accross "ConfiguringTheLogs.html" and started to play with my logkit .conf. At first I was confused because of my log4j background, but now I think logkit is more convenient and as easy as log4j to configure. --- Sebastian Klamar wrote: > * Oscar Picasso [2004-01-09 19:03 +0100] wrote: > > What is the syntax of the logkit/targets/cocoon element (in logkit.conf) > to > > create a target that logs to System.err or System.out instead of a file? > > Reading > > I suppose you have to add the StreamTargetFactory to the list of > factories in logkit.xconf. After that you can declare your target. > > > > type="stream-target"/> > > > > > > > System.out > > %7.7{priority} %{time} [%{category}] : %{message}\n%{throwable} > > > > > (not tested) > > > HTH -- Sebastian > > -- > Die letzten Worte... > des L�wendompteurs: "Die L�wen haben sich beruhigt. Ihr k�nnt sie jetzt > reinlassen." > ************************************************************************ > PGP Key: 0x1E727CE6 / 9085 48BD 8332 4BFC D80C A6CF D162 20BB 1E72 7CE6 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org