cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michel Erard <cocoon.er...@besonet.ch>
Subject logkit.xconf configuration
Date Thu, 05 May 2005 12:40:06 GMT
Hello,

I've a problem with my logging. It doesn't log with level debug how it 
is configured. I see only the INFO messages. Did I make a mistake?

//targets
<cocoon id="elquerito.db">
         <filename>${context-root}/WEB-INF/logs/elquerito/db-</filename>
         <format type="extended">%7.7{priority} %23.23{time:dd.MM.yyyy 
HH:mm:ss:SSS} [%20.20{category}] : %{message}\n%{throwable}</format>
         <append>true</append>
          <rotation pattern="yyyyMMdd" suffix=".log" type="unique">
           <date>yyyyMMdd</date>
          </rotation>
</cocoon>

//categories
<category log-level="DEBUG" name="elquerito.db">
     <category log-level="DEBUG" name="userfacade">
       <log-target id-ref="elquerito.db"/>
     </category>
     <category log-level="DEBUG" name="enquiryfacade">
       <log-target id-ref="elquerito.db"/>
     </category>
     <log-target id-ref="elquerito.db"/>
   </category>

//component
<component class="ch.bfh.hti.elquerito.dummy.DummyDbXMLUserFacade" 
logger="elquerito.db.userfacade" 
role="ch.bfh.hti.elquerito.db.UserFacade">
   </component>

thanks for your help,

Mike



Mime
View raw message