You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stefan Pietschmann <de...@gmail.com> on 2005/11/10 11:45:10 UTC

LogFactor5

Hi there,

I read about LogFactor5 and tried to enable it, but I doesn't show up on
Cocoon start as it should (I guess).

Here's my logkit.xconf:

<factories>
    <factory type="lf5"
class="org.apache.avalon.excalibur.logger.factory.LF5TargetFactory"/>
	...
</factories>
<targets>
    .....
    <lf5 id="amacont"/>
    <!--<cocoon id="amacont">
	<filename>${context-root}/amacont/amacont.log</filename>
	<format type="pattern">
         %7.7{priority} %{time}   [%{category}]: %{message}\n%{throwable}
      </format>
	<append>false</append>
    </cocoon>-->
    ....
</targets>
<categories>
    ...
    <category log-level="ERROR" name="amacont">
        <category log-level="ERROR" name="transformer">
		<log-target id-ref="amacont"/>
	  </category>
	  <log-target id-ref="amacont"/>
	  <log-target id-ref="error"/>
    </category>
</categories>

Logging works fine with the FileTargetFactory or CocoonTargetFactory (of
which I'd like to know the difference btw ;)). But LF5 doesn't seem to do
anything.

Cheers,
Stefan



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