You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "maoling (Jira)" <ji...@apache.org> on 2020/02/24 01:58:00 UTC
[jira] [Updated] (ZOOKEEPER-3735) fix the bad format of RATE_LOGGER
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maoling updated ZOOKEEPER-3735:
-------------------------------
Description:
{code:java}
} else if (digestFromLoadedSnapshot.zxid != 0 && zxid > digestFromLoadedSnapshot.zxid) {
RATE_LOGGER.rateLimitLog("The txn 0x{} of snapshot digest does not "
+ "exist.", Long.toHexString(digestFromLoadedSnapshot.zxid));
}
{code}
the printed log likes this:
{code:java}
Message:The txn 0x{} of snapshot digest does not exist. Value:fa4e00000082
{code}
*1. 0x{}* takes no effort
*2. RATE_LOGGER.rateLimitLog* doesn't use like the ordinary LOG
was:
{code:java}
} else if (digestFromLoadedSnapshot.zxid != 0 && zxid > digestFromLoadedSnapshot.zxid) {
RATE_LOGGER.rateLimitLog("The txn 0x{} of snapshot digest does not "
+ "exist.", Long.toHexString(digestFromLoadedSnapshot.zxid));
}
{code}
the printed log likes this:
{code:java}
Message:The txn 0x{} of snapshot digest does not exist. Value:fa4e00000082
{code}
*RATE_LOGGER.rateLimitLog* doesn't use like the ordinary LOG
> fix the bad format of RATE_LOGGER
> ---------------------------------
>
> Key: ZOOKEEPER-3735
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3735
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Reporter: maoling
> Priority: Minor
>
> {code:java}
> } else if (digestFromLoadedSnapshot.zxid != 0 && zxid > digestFromLoadedSnapshot.zxid) {
> RATE_LOGGER.rateLimitLog("The txn 0x{} of snapshot digest does not "
> + "exist.", Long.toHexString(digestFromLoadedSnapshot.zxid));
> }
> {code}
> the printed log likes this:
> {code:java}
> Message:The txn 0x{} of snapshot digest does not exist. Value:fa4e00000082
> {code}
> *1. 0x{}* takes no effort
> *2. RATE_LOGGER.rateLimitLog* doesn't use like the ordinary LOG
--
This message was sent by Atlassian Jira
(v8.3.4#803005)