[
https://issues.apache.org/jira/browse/BOOKKEEPER-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15780564#comment-15780564
]
ASF GitHub Bot commented on BOOKKEEPER-943:
-------------------------------------------
GitHub user eolivelli opened a pull request:
https://github.com/apache/bookkeeper/pull/98
BOOKKEEPER-943 Reduce log level of AbstractZkLedgerManager
Just change from "info" to "debug"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/eolivelli/bookkeeper
BOOKKEEPER-943-reduce-logs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/98.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #98
----
commit 3dc74a60e4dd6f1c1b026e2133bee2945e381e3b
Author: eolivelli <[email protected]>
Date: 2016-12-27T14:59:30Z
BOOKKEEPER-943 Reduce log level of AbstractZkLedgerManager for
register/unregister ReadOnlyLedgerHandle
----
> Reduce log level of AbstractZkLedgerManager for register/unregister
> ReadOnlyLedgerHandle
> ----------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-943
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-943
> Project: Bookkeeper
> Issue Type: Wish
> Components: bookkeeper-client
> Affects Versions: 4.4.0
> Reporter: Enrico Olivelli
> Assignee: Enrico Olivelli
> Priority: Critical
>
> 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:
> {code}
> Registered ledger metadata listener ReadOnlyLedgerHandle(lid = 29152, id =
> 1405806205) on ledger 29152.
> Unregistered ledger metadata listener ReadOnlyLedgerHandle(lid = 29152, id =
> 1405806205) on ledger 29152.
> {code}
> I would like to decrease the log level to "TRACE" instead of "INFO" in
> AbstractZkLedgerManager.java
> {code}
> LOG.info("Registered ledger metadata listener {} on ledger {}.", listener,
> ledgerId);
> LOG.info("Unregistered ledger metadata listener {} on ledger {}.", listener,
> ledgerId);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)