You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@infoplanning.com> on 2000/12/05 17:38:10 UTC
Cocoon Logging
I noticed in the CodedSelect() method generated in the sitemap
the following line:
org.apache.log.Logger log = org.apache.log.LogKit.getLoggerFor("cocoon");
This is not necessary as the AbstractSitemap has a protected
member log already initialized to the propper logger. Therefore
I will remove that generated line. All sitemaps and XSP pages
have access to the Cocoon logger, and XSP pages have a method
for creating application specific loggers that are children
of the Cocoon logger.
---------------------------------------
If you lust for Ham and Eggs, you have
committed breakfast in your heart
already. -- C. S. Lewis
Re: Cocoon Logging
Posted by Marcus Crafter <cr...@dresdnerbank.de>.
Hi Berin,
This line is from the CodedSelectorFactory. Thanks for the
information, and removing the line.
Cheers,
Marcus
On Tue, 5 Dec 2000, Berin Loritsch wrote:
> I noticed in the CodedSelect() method generated in the sitemap
> the following line:
>
> org.apache.log.Logger log = org.apache.log.LogKit.getLoggerFor("cocoon");
>
> This is not necessary as the AbstractSitemap has a protected
> member log already initialized to the propper logger. Therefore
> I will remove that generated line. All sitemaps and XSP pages
> have access to the Cocoon logger, and XSP pages have a method
> for creating application specific loggers that are children
> of the Cocoon logger.
>
> ---------------------------------------
> If you lust for Ham and Eggs, you have
> committed breakfast in your heart
> already. -- C. S. Lewis
>
>
>
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: Open Software Associates GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&' Email : Marcus.Crafter@osa.de
&&&&. Business Hours : +49 69 9757 200
&&&&&&&: After Hours : +49 69 49086750