-
1. Re: JBoss container call logging
frito Jun 30, 2003 2:34 AM (in response to dedhat)If call-logging is true and LogInterceptor is listed in the beans interceptor chain (bean configuration), it should log out every call to the container with debug level. The log statements start with "InvokeHome:" or "Invoke:".
Greetings,
Frito -
2. Re: JBoss container call logging
dedhat Jun 30, 2003 7:32 AM (in response to dedhat)Frito:
If call-logging is true and LogInterceptor is listed in the beans interceptor chain (bean configuration), it should log out every call to the container with debug level.
-------------------------------------
Call-logging is true and LogInterceptor is listed in the bean interceptor chain in standardjboss.xml file (Standard CMP EntityBean container).
But I still don't see any log statement starting with "InvokeHome" or "Invoke" in server.log file.
I tried specifying container setting in beans deployment descriptor (jboss.xml) as follow:
--------------------
<enforce-ejb-restrictions>true</enforce-ejb-restrictions>
<enterprise-beans>
<ejb-name>Ex1EntityBean</ejb-name>
<!-- <configuration-name>Standard CMP EntityBean</configuration-name> -->
<jndi-name>Ex1EntityBean</jndi-name>
</enterprise-beans>
<container-configurations>
<container-configuration>
<container-name>Standard CMP EntityBean</container-name>
<call-logging>true</call-logging>
<commit-option>B</commit-option>
<container-interceptors>
org.jboss.ejb.plugins.LogInterceptor
org.jboss.ejb.plugins.SecurityInterceptor
org.jboss.ejb.plugins.TxInterceptorCMT
org.jboss.ejb.plugins.MetricsInterceptor
org.jboss.ejb.plugins.EntityCreationInterceptor
org.jboss.ejb.plugins.EntityLockInterceptor
org.jboss.ejb.plugins.EntityInstanceInterceptor
org.jboss.ejb.plugins.EntityReentranceInterceptor
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
org.jboss.ejb.plugins.EntitySynchronizationInterceptor
</container-interceptors>
<container-invoker-conf>
false
</container-invoker-conf>
</container-configuration>
</container-configurations>
But still didn't see any logs :-(
Any clue what could be missing ??
Thanks,
Atul -
3. Re: JBoss container call logging
frito Jul 1, 2003 3:04 AM (in response to dedhat)Works for me with 3.2.1 and session beans (and I can remember other versions ;-) )
Be sure you are using the configuration where call-logging is enabled. The configuration-name is commented out in the jboss.xml you privided.
Be sure you are not limiting the log output of the class "org.jboss.ejb.plugins.LogInterceptor". Be sure there is no threshold level set for the appropriate appender limiting the debul level.
Greetings,
Frito