Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-943

Reduce log level of AbstractZkLedgerManager for register/unregister ReadOnlyLedgerHandle

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.5.0
    • Component/s: bookkeeper-client
    • Labels:
      None

      Description

      Every time a ledger is opened/closed at least two lines at level INFO are written to the application log.
      In the case of "tailing" a ledger I open/close ledgers many times an so application log are filled up of this kind of lines:

      Registered ledger metadata listener ReadOnlyLedgerHandle(lid = 29152, id = 1405806205) on ledger 29152.
      Unregistered ledger metadata listener ReadOnlyLedgerHandle(lid = 29152, id = 1405806205) on ledger 29152.
      

      I would like to decrease the log level to "TRACE" instead of "INFO" in AbstractZkLedgerManager.java

      LOG.info("Registered ledger metadata listener {} on ledger {}.", listener, ledgerId);
      LOG.info("Unregistered ledger metadata listener {} on ledger {}.", listener, ledgerId);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eolivelli Enrico Olivelli
                Reporter:
                eolivelli Enrico Olivelli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: