cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitchell Christensen <mchristen...@redknife.com>
Subject RE: Logging...
Date Fri, 07 Dec 2001 21:27:11 GMT
This has already been set.  Thanks though.

Given that this has already been set, is there something (else) I must do to
see messages generated within the XIncludeTransformer?

-Mitch


-----Original Message-----
From: SANSONE, AARON M [Non-Pharmacia/1000]
[mailto:aaron.m.sansone@monsanto.com]
Sent: Friday, December 07, 2001 12:23 PM
To: 'cocoon-users@xml.apache.org'
Subject: RE: Logging...


Add the following to your web.xml file (in WEB-INF)


    <!--
      This parameter indicates the log level to use throughout startup of
the system.
      As soon as the logkit.xconf the setting of the logkit.xconf
configuration is
      used instead! Only for startup and if the logkit.xconf is not
readable/available
      this log level is of importance.
 
      Available levels are:
        DEBUG:        prints all level of log messages.
        INFO:         prints all level of log messages except DEBUG ones.
        WARN:         prints all level of log messages except DEBUG and INFO
ones.
        ERROR:        prints all level of log messages except DEBUG, INFO
and WARN ones.
        FATAL-ERROR: prints only log messages of this level
    -->
    <init-param>
      <param-name>log-level</param-name>
      <param-value>DEBUG</param-value>
    </init-param>

Allbeit this turns on all logging, but you could filter out everything but
XIncludeTransformer with the logkit...

HTH,

Aaron

-----Original Message-----
From: Mitchell Christensen [mailto:mchristensen@redknife.com]
Sent: Friday, December 07, 2001 1:52 PM
To: Cocoon-Users Mailing List (E-mail)
Subject: Logging...


Does anybody know how to "turn on" logging within a particular component?
I'm looking at the source code for the XIncludeTransformer and I see lots of
debug statements that start with getLogger().isDebugEnabled(), and I'm not
sure how to "enable" those traces.  I've perused logkit.xconf withoug seeing
anything obvious.

Thanks in advance.
-Mitch

--------------------------
Mitch Christensen
Principal Architect
Redknife, Inc.
3095 Independence Dr.
Livermore, CA  94550


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

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

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

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

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

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message