On Wed, May 7, 2008 at 11:05 PM, Evise <[EMAIL PROTECTED]> wrote:
>
>  Good day,
>  Are there any possibilities to log activity of some SA or SU?
>  I mean to change some settings at conf/log4j to write to the log file traces
>  only for some SA, or even create a separate log files for necessary SA. Is
>  this possible to do?

You can isolate logging for a particular component for which your SU
is targeted simply by adding a logger for that component. Below is an
example to add a logger for the servicemix-jms component when the
jms:consumer or jms:producer is being used in a xbean.xml for a given
SU:

<logger name="org.apache.servicemix.jms.endpoints">
    <level value="info"/>
</logger>

This will allow whatever logging is available in the classes located
in the org.apache.servicemix.jms.endpoints package to log at the INFO
level.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to