cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject Strange Logging Behaviour
Date Fri, 26 Apr 2002 14:46:33 GMT
I just found two strange things about logging in Cocoon:

a) If the logger category for a component is not configured in the
   (via the logger attribute), it logs by default into "core.manager".
   According to the configuration in web.xml, this should be just "core".

b) The following lines in the cocoon.xconf make me a little bit wonder:

    <category name="core" log-level="DEBUG">
      <category name="startup" log-level="DEBUG"/>
      <category name="roles" log-level="DEBUG"/>
      <category name="manager" log-level="DEBUG"/>

   These lines achieve that anything logged to the category core.manager (or
   core.roles or core.startup) is ignored(!) and never logged.
   And as core.manager is the default, all logging done by custom components
   (which have no logger attribute) will never make it's way into the logs!

Or did I oversee something?



Open Source Group                        sunShine - b:Integrated
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn                      mailto:

To unsubscribe, e-mail:
For additional commands, email:

View raw message