13 Replies Latest reply on Aug 3, 2010 8:34 AM by Raghu K

    jbpm 4.1 - How to stop these Debug Messages in jboss

    Makarand Kulkarni Newbie

      Hi,

      Jbpm 4.1 , Jboss 5.0.0 GA

      When I see Jboss server log (server.log) from Jboss/server/default/log, I can see lot of following JobExecutor DEBUG messages. It seems that some process is running continuosly till we shutdown the jboss.
      Server log size is becoming too much after some time.

      Can anybody tell me how to stop printing DEBUG messages related to Jobexecutor ?

      Your help is highly appreciated


      
      18:46:33,942 DEBUG [DispatcherThread] DispatcherThread will wait for max 5000ms on org.jbpm.pvm.internal.jobexecutor.JobExecutor@7798cd
      18:46:38,939 DEBUG [DispatcherThread] DispatcherThread woke up
      18:46:38,949 DEBUG [AcquireJobsCmd] start querying first acquirable job...
      18:46:38,949 DEBUG [AcquireJobsCmd] locking jobs []
      18:46:38,959 DEBUG [GetNextDueDateCmd] getting next due date...
      18:46:38,959 DEBUG [GetNextDueDateCmd] next due date is null
      
      


        • 1. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
          Makarand Kulkarni Newbie

          Anybody who can guide me in this ?
          OR
          Is this some problem ?

          • 2. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
            Sebastian Schneider Master

            This isn't a problem but a debug message. Should be configurable through the log level for jBPM AFAIK.

            • 3. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
              Joram Barrez Master

              Sebastion is right. Probably you need to change the log level from debug to info in server/default/conf/jboss-log4j.xml or log4j.xml in jBPM or logging.properties in jBPM.

              • 4. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                Makarand Kulkarni Newbie

                I agree with you both. Problem is that I tried following options suggested by Joram.

                Still those DEBUG messages are coming.

                Any help in this is highly appreciated

                -Regards
                Makarand

                • 5. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                  Sebastian Schneider Master

                  Maybe you got several logging.properties in your classpath?

                  • 6. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                    Makarand Kulkarni Newbie

                    logging.properties in my eclipse project ( same as examples coming with jbpm 4.1) has following contents

                    can you help me in this regard ?

                    I have not changed logging.properties as I couldn't see any property having value as DEBUG and it is changed to INFO

                    I changed following in server/default/conf/jboss-log4j.xml. This is only property which has DEBUG value ( that is also commented )

                    <!-- category name="org.hibernate.SQL">

                    </category -->

                    handlers= java.util.logging.ConsoleHandler
                    redirect.commons.logging = enabled
                    
                    java.util.logging.ConsoleHandler.level = FINE
                    java.util.logging.ConsoleHandler.formatter = org.jbpm.internal.log.LogFormatter
                    
                    org.jbpm.level=FINE
                    # org.jbpm.pvm.internal.tx.level=FINE
                    # org.jbpm.pvm.internal.wire.level=FINE
                    # org.jbpm.pvm.internal.util.level=FINE
                    
                    org.hibernate.level=INFO
                    org.hibernate.cfg.SettingsFactory.level=SEVERE
                    org.hibernate.cfg.HbmBinder.level=SEVERE
                    # org.hibernate.SQL.level=FINEST
                    # org.hibernate.type.level=FINEST
                    # org.hibernate.tool.hbm2ddl.SchemaExport.level=FINEST
                    # org.hibernate.transaction.level=FINEST
                    


                    • 7. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                      Makarand Kulkarni Newbie

                      Can I get exact location and file where should I make this change ? so that DEBUG messages will not come.

                      -Regards
                      Makarand

                      • 8. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                        Sebastian Schneider Master

                        Are you running inside Eclipse? If yes, try closing open projects also using the jBPM libraries and thus also having configuration files. This solved my problem once when I thought my logging configuration would not be taken into account.

                        • 9. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                          Makarand Kulkarni Newbie

                          even if I dont run any project and start jboss using run.bat ( only jboss is running), it still prints these debug messages.

                          -Regards
                          Makarand

                          • 10. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                            Makarand Kulkarni Newbie

                            Hi,

                            I tried all the options suggested till now. No success yet.

                            DEBUG statements related to JOBExecutor are still coming in command prompt when I start jboss

                            It would be better if you can guide on this

                            -Regards
                            Makarand

                            • 11. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                              Prachi M Newbie

                              Hi Makarand,

                               

                              I am getting the same debugger messages as soon as I start my server (Tomcat).

                              Did you resolve? please share some information.

                              We are maintaining logback.xml for our application which has hibernate and jbpm configuration set to warnings. However, I get these debugging information almost every 4 seconds.

                              Please provide some information.

                               

                              Thanks in advance,

                              Prachi

                              • 12. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                                Prachi M Newbie

                                Hi Sebastian,

                                 

                                Please help me stop the debugging messages. The debugs continuously open the connection, check the JBPM4_JOB table and commit the transaction. Is it the usual behaviour?

                                I have also increaded idleInterval in jbpm.cfg.xml file, but it didnt't help.

                                Please help !

                                 

                                Thanks,

                                Prachi

                                • 13. Re: jbpm 4.1 - How to stop these Debug Messages in jboss
                                  Raghu K Newbie

                                  Guys,

                                   

                                  I am facing the same issue on my Solaris webserver where JBOSS is running

                                  • I checked log4j.xml and there no "DEBUG" levels, all teh log levels are set to "INFO"
                                  • Checked my run.sh, there no debug set in JAVAOPT

                                  here is how my server.log appears, currenly this is production issue where the JBOSS log is consuming tons of space allocated for logs, can you guys help me how i can disable the DEBUG mode

                                   

                                  2010-08-03 14:10:42,064 DEBUG [org.jboss.web.WebService] Created jboss:service=WebService
                                  2010-08-03 14:10:42,065 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss:service=WebService dependents are: []
                                  2010-08-03 14:10:42,065 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=Naming
                                  2010-08-03 14:10:42,066 DEBUG [org.jboss.system.ServiceController] Ignoring create request for service: jboss:service=Naming
                                  2010-08-03 14:10:42,067 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=JNDIView
                                  2010-08-03 14:10:42,068 DEBUG [org.jboss.naming.JNDIView] Creating jboss:service=JNDIView
                                  2010-08-03 14:10:42,068 DEBUG [org.jboss.naming.JNDIView] Created jboss:service=JNDIView
                                  2010-08-03 14:10:42,069 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss:service=JNDIView dependents are: []
                                  2010-08-03 14:10:42,069 DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=SecurityConfig
                                  2010-08-03 14:10:42,070 DEBUG [org.jboss.security.plugins.SecurityConfig] Creating jboss.security:service=SecurityConfig
                                  2010-08-03 14:10:42,070 DEBUG [org.jboss.security.plugins.SecurityConfig] Created jboss.security:service=SecurityConfig
                                  2010-08-03 14:10:42,071 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.security:service=SecurityConfig dependents are: []
                                  2010-08-03 14:10:42,071 DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=XMLLoginConfig
                                  2010-08-03 14:10:42,072 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Creating jboss.security:service=XMLLoginConfig
                                  2010-08-03 14:10:42,072 DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Created jboss.security:service=XMLLoginConfig
                                  2010-08-03 14:10:42,073 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.security:service=XMLLoginConfig dependents are: []
                                  2010-08-03 14:10:42,073 DEBUG [org.jboss.system.ServiceController] Creating service jboss.security:service=JaasSecurityManager
                                  2010-08-03 14:10:42,074 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Creating jboss.security:service=JaasSecurityManager
                                  2010-08-03 14:10:42,074 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created jboss.security:service=JaasSecurityManager
                                  2010-08-03 14:10:42,075 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.security:service=JaasSecurityManager dependents are: []
                                  2010-08-03 14:10:42,075 DEBUG [org.jboss.system.ServiceController] Creating service jboss:service=XidFactory
                                  2010-08-03 14:10:42,081 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss:service=XidFactory dependents are: [ObjectName: jboss:service=TransactionManager
                                  state: CONFIGURED
                                  I Depend On:  jboss:service=XidFactory

                                   

                                  Checked with all the available search methods in goole for some solution no sucess yet ,  Need some urgent help