You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Subrahmanya, Noida" <su...@noida.hcltech.com> on 2002/12/13 07:56:43 UTC

Debug:Logging information

There are some statements in Cocon API's such as getLogger().error
I want these to be printed in log files . how and where should i configure
this to be enabled.
Any help? I want to debug an XML:Db web application.

rgds,
subrahmanya

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Debug:Logging information

Posted by David Crossley <cr...@indexgeo.com.au>.
Geoff Howard wrote:
> I thought the settings in web.xml were only valid
> during startup until logkit took over.

Thanks Geoff, you are right. Sorry for introducing
confusion. Bernhard Huber describes it all very
eloquently at the Cocoon Wiki HowTos:
http://outerthought.net/wiki/Wiki.jsp?page=ConfiguringTheLogs

> Regarding the build docs log-level - is that a way to
> reduce the verbosity of the build?

The setting in properties.xml is already at ERROR.
So it could not be made less verbose.

--David


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Debug:Logging information

Posted by Geoff Howard <co...@leverageweb.com>.
I thought the settings in web.xml were only valid during startup until
logkit took over.

Regarding the build docs log-level - is that a way to reduce the verbosity
of the build?

Geoff

> -----Original Message-----
> From: David Crossley [mailto:crossley@indexgeo.com.au]
> Sent: Saturday, December 14, 2002 12:15 AM
> To: cocoon-dev@xml.apache.org
> Subject: Re: Debug:Logging information
>
>
> Subrahmanya, Noida wrote:
> > There are some statements in Cocon API's such as getLogger().error
> > I want these to be printed in log files . how and where should
> i configure
> > this to be enabled.
> > Any help? I want to debug an XML:Db web application.
>
> The webapp log-level to enable these statements to be issued
> is configured in ./src/webapp/WEB-INF/web.xml
> When running 'build docs' then the log-level is configured
> in ./properties.xml (2.1-dev).
>
> --David
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Debug:Logging information

Posted by David Crossley <cr...@indexgeo.com.au>.
Subrahmanya, Noida wrote:
> There are some statements in Cocon API's such as getLogger().error
> I want these to be printed in log files . how and where should i configure
> this to be enabled.
> Any help? I want to debug an XML:Db web application.

The webapp log-level to enable these statements to be issued
is configured in ./src/webapp/WEB-INF/web.xml
When running 'build docs' then the log-level is configured
in ./properties.xml (2.1-dev).

--David






---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: Debug:Logging information

Posted by Geoff Howard <co...@leverageweb.com>.
Cocoon uses logkit by default (http://jakarta.apache.org/avalon/logkit/).
The sitemap is filled with logger= references and logkit.xconf in WEB-INF/
has detailed setup for what to do with the messages it receives.  By default
they are written to log files in WEB-INF/logs.

Geoff Howard

> -----Original Message-----
> From: Subrahmanya, Noida [mailto:subrahmanya@noida.hcltech.com]
> Sent: Friday, December 13, 2002 1:57 AM
> To: cocoon-users@xml.apache.org; cocoon-dev@xml.apache.org
> Subject: Debug:Logging information
>
>
> There are some statements in Cocon API's such as getLogger().error
> I want these to be printed in log files . how and where should i configure
> this to be enabled.
> Any help? I want to debug an XML:Db web application.
>
> rgds,
> subrahmanya
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org