Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5709

Logging of "Database ... is locked" should be done on level DEBUG

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.11.1
    • 5.12.0
    • None
    • None

    Description

      The SharedFileLocker tries to acquire a lock on the activemq lock file. Everytime it can not lock it outputs the logging message below at INFO level. On the slave it will try this forever till the master is down.

      So I propose we only log on DEBUG level so the messages do not fill up a log with a global default info log level.

      2015-04-07 12:35:36,522 | INFO | Database .../activemq/data/lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.IOException: File '.../activemq/data/lock' could not be locked. | org.apache.activemq.store.SharedFileLocker | main

      Attachments

        Activity

          People

            clebertsuconic Clebert Suconic
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: