cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Hoechstaedter <j.hoechstaed...@memocomp.com>
Subject Re: Own Configurable Action
Date Tue, 07 Oct 2008 15:09:46 GMT
Hi,

here what I did: I set the int value of MYACTION to FATAL +10. it works. 
It was at DEBUG -10.

cheers

Johannes Hoechstaedter schrieb:
> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


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


Mime
View raw message