2 Replies Latest reply on Jun 26, 2007 3:18 AM by ghezzi

    How to activate log in jbpm (3.2.GA)

    ghezzi

      I can't find out how to see what jbpm is doing
      When i use jbpm-enterprise.ear and test my process i see log detailed
      on stdout, but when i embed the engine in my ear jbpm
      does not log nothing.

      I have unpacked jbpm-enterprise.ear to find some
      log4j.xml or whatever without luck

      any hints?

        • 1. Re: How to activate log in jbpm (3.2.GA)
          kukeltje

          jbpm uses commonslogging (so log4j or jdk logging, depends on that is configured). So look at that somewhere

          • 2. Re: How to activate log in jbpm (3.2.GA)
            ghezzi

             

            "sparklehorse" wrote:
            I can't find out how to see what jbpm is doing
            When i use jbpm-enterprise.ear and test my process i see log detailed
            on stdout, but when i embed the engine in my ear jbpm
            does not log nothing.

            I have unpacked jbpm-enterprise.ear to find some
            log4j.xml or whatever without luck

            any hints?




            $JBOSS_HOME/conf/log4j.xml

             <appender name="jbpm" class="org.jboss.logging.appender.RollingFileAppender">
             <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
             <param name="File" value="${jboss.server.home.dir}/log/jbpm.log"/>
             <param name="Append" value="false"/>
             <param name="MaxFileSize" value="500KB"/>
             <param name="MaxBackupIndex" value="1"/>
             <layout class="org.apache.log4j.PatternLayout">
             </layout>
             </appender>
            
             <category name="org.jbpm">
             <priority value="DEBUG" />
             <appender-ref ref="jbpm" />
             </category>