0 Replies Latest reply on Oct 14, 2004 3:51 PM by khurle

    POJO loggs but EJB's and MBeans do not

    khurle

      In one .ear I deploy a pojo along with EJB's and MBeans. The pojo loggs but the other objects do not.

      I am using org.apache.commons.logging in all classes in the same fashion.

      My log4j.xml looks like:






      <!-- Rollover at midnight each day -->
      <param name="DatePattern" value="'.'yyyy-MM-dd"/>

      <!-- Rollover at the top of each hour
      <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
      -->


      <!-- The default pattern: Date Priority [Category] Message\n -->


      <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n

      -->



      ...





      <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->





      ...



      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="FILE"/>





      Any help would be appreciated.

      Kevin