This is an old post, but I'm resurrecting it because it seems it was never resolved, and I think I know why. The following code in CallLoggingInterceptor is evaluating to false:
boolean callLogging = log.isDebugEnabled(); if (callLogging) callLogging = Boolean.valueOf((String)invocation.getMetaData(LOGGING, CALL_LOGGING)).booleanValue();
"cpmcda01" wrote:
I can not express how frustrated I was and how much my impression of the JBoss product diminished when I found that the source of the problem was buried in the interceptor code and was not reasonably documented.
<metadata tag="logging" class="org.blah.MyClass"> <default> <call-logging>true</call-logging> </default> </metadata>
<metadata tag="logging" class="$instanceof{@org.blah.Loggable}"> <default> <call-logging>true</call-logging> </default> </metadata>
<metadata tag="logging" class="$instanceof{@org.blah.Loggable}"> <method expr="void some*(..)"> <call-logging>true</call-logging> </method> <method expr="void more*(..)"> <call-logging>true</call-logging> </method> <field name="somefield"> <call-logging>true</call-logging> </field></metadata>