Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8017

[Broker-J] [BDB] JE log events written at JUL level FINE and below not included in the log produced by a BrokerLogger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • qpid-java-6.1, qpid-java-broker-7.0.0
    • qpid-java-broker-7.0.1
    • Broker-J
    • None

    Description

      Reproduction:

      • Add NameAndLevel logger inclusion rule BrokerLogger file for source com.sleepycat.je.* with Level.ALL
      • Add a BDB HA VHN/VHN
      • Expected behaviour: verbose logging from JE. Actual behaviour: moderate logging only

      For instance, JE writes the following message at FINE which should be logged by the handler as TRACE but it is absent.

      2017-11-07 10:42:15,467 TRACE [Cleaner-1] (c.s.j.c.UtilizationCalculator) - [default] Clean file none: predicted min util is below minUtilization, current util min: 20 max: 20, predicted util min: 20 max: 20
      

      There is a workaround for the functional problem, albeit a restart is required and the ability to change the process's system properties. Use the normal JUL system property java.util.logging.config.file. Set this to the location of a logging.properties file with the com.sleepycat.je logger set to the desired level. Once the JVM is restarted, the Broker's log files will include the logging.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: