Hi everybody,

I have an own configurable action, which extends AbstractComplementaryConfigurableAction. Everything works fine, but: This action is logging into my database which is configured in my log4j appender. No other action does this. I have commented this in log4j.xml:

 <!-- appender configuration for logs with level MYACTION -->
<category name="1"> <priority value="MYACTION" class="org.abc.MyActionLogLevel" /> <appender-ref ref="MySQL"/> </category>

 <!-- default appender configuration -->
 <root>

   <priority value="${org.apache.cocoon.log4j.loglevel}"/>
<!-- no appender for default logs, so that there is no output for these -->
   <!-- <appender-ref ref="CORE"/> -->
</root>


I have another action for logging, which is loggin fine with an own log level MYACTION.

My question: How can I prevent the AbstractComplementaryConfigurableAction from logging? I am not calling the logger in my action.

Log is for example:
2008-10-07 12:16:39,500 - org.abc.MyAction - DEBUG - (Re)Loading resource://META-INF/gentatoo/tables/gtt/GTT_PERSON.xml

cheers,
Johannes



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

Reply via email to