Hi, it's me again.

The task can be accomplished as in the log.xsl logicsheet.

<xsp:logic>
  org.apache.log.Logger logger =
    org.apache.log.Hierarchy.getDefaultHierarchy().getLoggerFor("xxx");
</xsp:logic>

and then use

<xsp:logic>
  logger.info("message");
</xsp:logic>

Regards, Felix


On Wed, 6 Nov 2002, Felix Roethenbacher wrote:

> Hi!
>
> I have written an XSP page and want to log
> into a specified target (category). I can log into the
> category 'sitemap.generator.serverpages.xxx' by using
>
> getLogger().getChildLogger("xxx");
>
> Is it possible to log into a lower level category
> (e.g. into category 'xxx')?
>
>
> Felix
> --
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to