-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dledger logging #5959
Fix dledger logging #5959
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The other modules also contained the slf4j-api
on test scope, eg: store、container. Should add this bridge to all these module dependencies?
Thx for your feedback, fixed already. |
…r with controller mode (#6024) * refactor: simplify getPID (#5962) * [ISSUE #5923] Add example tiered storage backend service provider (#5926) * implement example file segment * add metrics * add readme * fix license * fix tests * fix links in README.md * add comment to PosixFileSegment and mark as experimental * fix test * optimize image quality * Remove the useless exception class: MQRedirectException #5963 * [ISSUE #5965] Fix lmqTopicQueueTable initialization (#5968) * [ISSUE #5965] Fix lmqTopicQueueTable initialization * [ISSUE #5965] Fix lmqTopicQueueTable initialization * [ISSUE #5890] Fix dledger logging (#5959) * Fix dledger logging * Add bridge into store module * [ISSUE #5860] Set the value of order when create or update topic (#5861) * [ISSUE #5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (#5940) * [ISSUE #5924] Optimize UtilAll#sleep method (#5925) * [ISSUE #5924]Optimize UtilAll#sleep method * polish code * [ISSUE #5986] optimize the BrokerOuterAPITest class code Co-authored-by: zhouyunpeng <[email protected]> * [ISSUE #5971] Make the internal logs related to the dledger in the controller print to a file separately (#5972) * Make the internal logs related to the dledger in the controller print to a file separately * Make the internal logs related to the dledger in the controller print to a file separately * [ISSUE #5969] Remvoe duplicate deleteUnusedStats in admin processor (#5973) * [ISSUE #5847] Add checkBlock for hasMsgFromQueue * [ISSUE #5983] Make consumer support flow control code better (#5984) * When encountering the flow control code, pull it after 20ms instead of 3s * When encountering the flow control code, pull it after 20ms instead of 3s * [ISSUE #5896] feat:add pop consumer example (#5991) * feat:add pop consumer * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java Co-authored-by: Oliver <[email protected]> * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix --------- Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]> * [ISSUE #5942] Fix the produce count include the quantity of the system topic(#5943) * [ISSUE #5999] Fix the TopicQueueMappingUtils comments typo (#6000) * [ISSUE #5996] Optimize the RemotingSerializable class code (#5998) * simplified RemotingSerializable null check * optimize the RemotingSerializable class code * [ISSUE #5994] [RIP-46] add pop and timer metrics (#5995) * add pop and timer metrics * fix according to review comment * test(broker): add ReplicasManagerRegisterTest to test the register process 1. add ReplicasManagerRegisterTest to test the register process * chore(pom): modify pom.xml to replace mockito with powermock 1. modify pom.xml to replace mockito with powermock * build(bazel): export powermock in bazel 1. export powermock in bazel --------- Co-authored-by: Xinda <[email protected]> Co-authored-by: SSpirits <[email protected]> Co-authored-by: loboxu <[email protected]> Co-authored-by: pingww <[email protected]> Co-authored-by: Aaron Ai <[email protected]> Co-authored-by: Slideee <[email protected]> Co-authored-by: mxsm <[email protected]> Co-authored-by: hardyfish <[email protected]> Co-authored-by: zhouyunpeng <[email protected]> Co-authored-by: rongtong <[email protected]> Co-authored-by: zhiliatom <[email protected]> Co-authored-by: zhouxiang <[email protected]> Co-authored-by: mahaitao <[email protected]> Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]>
… broker with controller mode (apache#6024) * refactor: simplify getPID (apache#5962) * [ISSUE apache#5923] Add example tiered storage backend service provider (apache#5926) * implement example file segment * add metrics * add readme * fix license * fix tests * fix links in README.md * add comment to PosixFileSegment and mark as experimental * fix test * optimize image quality * Remove the useless exception class: MQRedirectException apache#5963 * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization (apache#5968) * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5890] Fix dledger logging (apache#5959) * Fix dledger logging * Add bridge into store module * [ISSUE apache#5860] Set the value of order when create or update topic (apache#5861) * [ISSUE apache#5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (apache#5940) * [ISSUE apache#5924] Optimize UtilAll#sleep method (apache#5925) * [ISSUE apache#5924]Optimize UtilAll#sleep method * polish code * [ISSUE apache#5986] optimize the BrokerOuterAPITest class code Co-authored-by: zhouyunpeng <[email protected]> * [ISSUE apache#5971] Make the internal logs related to the dledger in the controller print to a file separately (apache#5972) * Make the internal logs related to the dledger in the controller print to a file separately * Make the internal logs related to the dledger in the controller print to a file separately * [ISSUE apache#5969] Remvoe duplicate deleteUnusedStats in admin processor (apache#5973) * [ISSUE apache#5847] Add checkBlock for hasMsgFromQueue * [ISSUE apache#5983] Make consumer support flow control code better (apache#5984) * When encountering the flow control code, pull it after 20ms instead of 3s * When encountering the flow control code, pull it after 20ms instead of 3s * [ISSUE apache#5896] feat:add pop consumer example (apache#5991) * feat:add pop consumer * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java Co-authored-by: Oliver <[email protected]> * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix --------- Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]> * [ISSUE apache#5942] Fix the produce count include the quantity of the system topic(apache#5943) * [ISSUE apache#5999] Fix the TopicQueueMappingUtils comments typo (apache#6000) * [ISSUE apache#5996] Optimize the RemotingSerializable class code (apache#5998) * simplified RemotingSerializable null check * optimize the RemotingSerializable class code * [ISSUE apache#5994] [RIP-46] add pop and timer metrics (apache#5995) * add pop and timer metrics * fix according to review comment * test(broker): add ReplicasManagerRegisterTest to test the register process 1. add ReplicasManagerRegisterTest to test the register process * chore(pom): modify pom.xml to replace mockito with powermock 1. modify pom.xml to replace mockito with powermock * build(bazel): export powermock in bazel 1. export powermock in bazel --------- Co-authored-by: Xinda <[email protected]> Co-authored-by: SSpirits <[email protected]> Co-authored-by: loboxu <[email protected]> Co-authored-by: pingww <[email protected]> Co-authored-by: Aaron Ai <[email protected]> Co-authored-by: Slideee <[email protected]> Co-authored-by: mxsm <[email protected]> Co-authored-by: hardyfish <[email protected]> Co-authored-by: zhouyunpeng <[email protected]> Co-authored-by: rongtong <[email protected]> Co-authored-by: zhiliatom <[email protected]> Co-authored-by: zhouxiang <[email protected]> Co-authored-by: mahaitao <[email protected]> Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]>
… broker with controller mode (apache#6024) * refactor: simplify getPID (apache#5962) * [ISSUE apache#5923] Add example tiered storage backend service provider (apache#5926) * implement example file segment * add metrics * add readme * fix license * fix tests * fix links in README.md * add comment to PosixFileSegment and mark as experimental * fix test * optimize image quality * Remove the useless exception class: MQRedirectException apache#5963 * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization (apache#5968) * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5890] Fix dledger logging (apache#5959) * Fix dledger logging * Add bridge into store module * [ISSUE apache#5860] Set the value of order when create or update topic (apache#5861) * [ISSUE apache#5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (apache#5940) * [ISSUE apache#5924] Optimize UtilAll#sleep method (apache#5925) * [ISSUE apache#5924]Optimize UtilAll#sleep method * polish code * [ISSUE apache#5986] optimize the BrokerOuterAPITest class code Co-authored-by: zhouyunpeng <[email protected]> * [ISSUE apache#5971] Make the internal logs related to the dledger in the controller print to a file separately (apache#5972) * Make the internal logs related to the dledger in the controller print to a file separately * Make the internal logs related to the dledger in the controller print to a file separately * [ISSUE apache#5969] Remvoe duplicate deleteUnusedStats in admin processor (apache#5973) * [ISSUE apache#5847] Add checkBlock for hasMsgFromQueue * [ISSUE apache#5983] Make consumer support flow control code better (apache#5984) * When encountering the flow control code, pull it after 20ms instead of 3s * When encountering the flow control code, pull it after 20ms instead of 3s * [ISSUE apache#5896] feat:add pop consumer example (apache#5991) * feat:add pop consumer * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java Co-authored-by: Oliver <[email protected]> * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix --------- Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]> * [ISSUE apache#5942] Fix the produce count include the quantity of the system topic(apache#5943) * [ISSUE apache#5999] Fix the TopicQueueMappingUtils comments typo (apache#6000) * [ISSUE apache#5996] Optimize the RemotingSerializable class code (apache#5998) * simplified RemotingSerializable null check * optimize the RemotingSerializable class code * [ISSUE apache#5994] [RIP-46] add pop and timer metrics (apache#5995) * add pop and timer metrics * fix according to review comment * test(broker): add ReplicasManagerRegisterTest to test the register process 1. add ReplicasManagerRegisterTest to test the register process * chore(pom): modify pom.xml to replace mockito with powermock 1. modify pom.xml to replace mockito with powermock * build(bazel): export powermock in bazel 1. export powermock in bazel --------- Co-authored-by: Xinda <[email protected]> Co-authored-by: SSpirits <[email protected]> Co-authored-by: loboxu <[email protected]> Co-authored-by: pingww <[email protected]> Co-authored-by: Aaron Ai <[email protected]> Co-authored-by: Slideee <[email protected]> Co-authored-by: mxsm <[email protected]> Co-authored-by: hardyfish <[email protected]> Co-authored-by: zhouyunpeng <[email protected]> Co-authored-by: rongtong <[email protected]> Co-authored-by: zhiliatom <[email protected]> Co-authored-by: zhouxiang <[email protected]> Co-authored-by: mahaitao <[email protected]> Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]>
…r with controller mode (#6024) * refactor: simplify getPID (#5962) * [ISSUE #5923] Add example tiered storage backend service provider (#5926) * implement example file segment * add metrics * add readme * fix license * fix tests * fix links in README.md * add comment to PosixFileSegment and mark as experimental * fix test * optimize image quality * Remove the useless exception class: MQRedirectException #5963 * [ISSUE #5965] Fix lmqTopicQueueTable initialization (#5968) * [ISSUE #5965] Fix lmqTopicQueueTable initialization * [ISSUE #5965] Fix lmqTopicQueueTable initialization * [ISSUE #5890] Fix dledger logging (#5959) * Fix dledger logging * Add bridge into store module * [ISSUE #5860] Set the value of order when create or update topic (#5861) * [ISSUE #5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (#5940) * [ISSUE #5924] Optimize UtilAll#sleep method (#5925) * [ISSUE #5924]Optimize UtilAll#sleep method * polish code * [ISSUE #5986] optimize the BrokerOuterAPITest class code Co-authored-by: zhouyunpeng <[email protected]> * [ISSUE #5971] Make the internal logs related to the dledger in the controller print to a file separately (#5972) * Make the internal logs related to the dledger in the controller print to a file separately * Make the internal logs related to the dledger in the controller print to a file separately * [ISSUE #5969] Remvoe duplicate deleteUnusedStats in admin processor (#5973) * [ISSUE #5847] Add checkBlock for hasMsgFromQueue * [ISSUE #5983] Make consumer support flow control code better (#5984) * When encountering the flow control code, pull it after 20ms instead of 3s * When encountering the flow control code, pull it after 20ms instead of 3s * [ISSUE #5896] feat:add pop consumer example (#5991) * feat:add pop consumer * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java Co-authored-by: Oliver <[email protected]> * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix --------- Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]> * [ISSUE #5942] Fix the produce count include the quantity of the system topic(#5943) * [ISSUE #5999] Fix the TopicQueueMappingUtils comments typo (#6000) * [ISSUE #5996] Optimize the RemotingSerializable class code (#5998) * simplified RemotingSerializable null check * optimize the RemotingSerializable class code * [ISSUE #5994] [RIP-46] add pop and timer metrics (#5995) * add pop and timer metrics * fix according to review comment * test(broker): add ReplicasManagerRegisterTest to test the register process 1. add ReplicasManagerRegisterTest to test the register process * chore(pom): modify pom.xml to replace mockito with powermock 1. modify pom.xml to replace mockito with powermock * build(bazel): export powermock in bazel 1. export powermock in bazel --------- Co-authored-by: Xinda <[email protected]> Co-authored-by: SSpirits <[email protected]> Co-authored-by: loboxu <[email protected]> Co-authored-by: pingww <[email protected]> Co-authored-by: Aaron Ai <[email protected]> Co-authored-by: Slideee <[email protected]> Co-authored-by: mxsm <[email protected]> Co-authored-by: hardyfish <[email protected]> Co-authored-by: zhouyunpeng <[email protected]> Co-authored-by: rongtong <[email protected]> Co-authored-by: zhiliatom <[email protected]> Co-authored-by: zhouxiang <[email protected]> Co-authored-by: mahaitao <[email protected]> Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]>
… broker with controller mode (apache#6024) * refactor: simplify getPID (apache#5962) * [ISSUE apache#5923] Add example tiered storage backend service provider (apache#5926) * implement example file segment * add metrics * add readme * fix license * fix tests * fix links in README.md * add comment to PosixFileSegment and mark as experimental * fix test * optimize image quality * Remove the useless exception class: MQRedirectException apache#5963 * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization (apache#5968) * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5890] Fix dledger logging (apache#5959) * Fix dledger logging * Add bridge into store module * [ISSUE apache#5860] Set the value of order when create or update topic (apache#5861) * [ISSUE apache#5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (apache#5940) * [ISSUE apache#5924] Optimize UtilAll#sleep method (apache#5925) * [ISSUE apache#5924]Optimize UtilAll#sleep method * polish code * [ISSUE apache#5986] optimize the BrokerOuterAPITest class code Co-authored-by: zhouyunpeng <[email protected]> * [ISSUE apache#5971] Make the internal logs related to the dledger in the controller print to a file separately (apache#5972) * Make the internal logs related to the dledger in the controller print to a file separately * Make the internal logs related to the dledger in the controller print to a file separately * [ISSUE apache#5969] Remvoe duplicate deleteUnusedStats in admin processor (apache#5973) * [ISSUE apache#5847] Add checkBlock for hasMsgFromQueue * [ISSUE apache#5983] Make consumer support flow control code better (apache#5984) * When encountering the flow control code, pull it after 20ms instead of 3s * When encountering the flow control code, pull it after 20ms instead of 3s * [ISSUE apache#5896] feat:add pop consumer example (apache#5991) * feat:add pop consumer * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java Co-authored-by: Oliver <[email protected]> * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix --------- Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]> * [ISSUE apache#5942] Fix the produce count include the quantity of the system topic(apache#5943) * [ISSUE apache#5999] Fix the TopicQueueMappingUtils comments typo (apache#6000) * [ISSUE apache#5996] Optimize the RemotingSerializable class code (apache#5998) * simplified RemotingSerializable null check * optimize the RemotingSerializable class code * [ISSUE apache#5994] [RIP-46] add pop and timer metrics (apache#5995) * add pop and timer metrics * fix according to review comment * test(broker): add ReplicasManagerRegisterTest to test the register process 1. add ReplicasManagerRegisterTest to test the register process * chore(pom): modify pom.xml to replace mockito with powermock 1. modify pom.xml to replace mockito with powermock * build(bazel): export powermock in bazel 1. export powermock in bazel --------- Co-authored-by: Xinda <[email protected]> Co-authored-by: SSpirits <[email protected]> Co-authored-by: loboxu <[email protected]> Co-authored-by: pingww <[email protected]> Co-authored-by: Aaron Ai <[email protected]> Co-authored-by: Slideee <[email protected]> Co-authored-by: mxsm <[email protected]> Co-authored-by: hardyfish <[email protected]> Co-authored-by: zhouyunpeng <[email protected]> Co-authored-by: rongtong <[email protected]> Co-authored-by: zhiliatom <[email protected]> Co-authored-by: zhouxiang <[email protected]> Co-authored-by: mahaitao <[email protected]> Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]>
… broker with controller mode (apache#6024) * refactor: simplify getPID (apache#5962) * [ISSUE apache#5923] Add example tiered storage backend service provider (apache#5926) * implement example file segment * add metrics * add readme * fix license * fix tests * fix links in README.md * add comment to PosixFileSegment and mark as experimental * fix test * optimize image quality * Remove the useless exception class: MQRedirectException apache#5963 * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization (apache#5968) * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5965] Fix lmqTopicQueueTable initialization * [ISSUE apache#5890] Fix dledger logging (apache#5959) * Fix dledger logging * Add bridge into store module * [ISSUE apache#5860] Set the value of order when create or update topic (apache#5861) * [ISSUE apache#5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (apache#5940) * [ISSUE apache#5924] Optimize UtilAll#sleep method (apache#5925) * [ISSUE apache#5924]Optimize UtilAll#sleep method * polish code * [ISSUE apache#5986] optimize the BrokerOuterAPITest class code Co-authored-by: zhouyunpeng <[email protected]> * [ISSUE apache#5971] Make the internal logs related to the dledger in the controller print to a file separately (apache#5972) * Make the internal logs related to the dledger in the controller print to a file separately * Make the internal logs related to the dledger in the controller print to a file separately * [ISSUE apache#5969] Remvoe duplicate deleteUnusedStats in admin processor (apache#5973) * [ISSUE apache#5847] Add checkBlock for hasMsgFromQueue * [ISSUE apache#5983] Make consumer support flow control code better (apache#5984) * When encountering the flow control code, pull it after 20ms instead of 3s * When encountering the flow control code, pull it after 20ms instead of 3s * [ISSUE apache#5896] feat:add pop consumer example (apache#5991) * feat:add pop consumer * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java Co-authored-by: Oliver <[email protected]> * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix * feat:fix --------- Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]> * [ISSUE apache#5942] Fix the produce count include the quantity of the system topic(apache#5943) * [ISSUE apache#5999] Fix the TopicQueueMappingUtils comments typo (apache#6000) * [ISSUE apache#5996] Optimize the RemotingSerializable class code (apache#5998) * simplified RemotingSerializable null check * optimize the RemotingSerializable class code * [ISSUE apache#5994] [RIP-46] add pop and timer metrics (apache#5995) * add pop and timer metrics * fix according to review comment * test(broker): add ReplicasManagerRegisterTest to test the register process 1. add ReplicasManagerRegisterTest to test the register process * chore(pom): modify pom.xml to replace mockito with powermock 1. modify pom.xml to replace mockito with powermock * build(bazel): export powermock in bazel 1. export powermock in bazel --------- Co-authored-by: Xinda <[email protected]> Co-authored-by: SSpirits <[email protected]> Co-authored-by: loboxu <[email protected]> Co-authored-by: pingww <[email protected]> Co-authored-by: Aaron Ai <[email protected]> Co-authored-by: Slideee <[email protected]> Co-authored-by: mxsm <[email protected]> Co-authored-by: hardyfish <[email protected]> Co-authored-by: zhouyunpeng <[email protected]> Co-authored-by: rongtong <[email protected]> Co-authored-by: zhiliatom <[email protected]> Co-authored-by: zhouxiang <[email protected]> Co-authored-by: mahaitao <[email protected]> Co-authored-by: mahaitao617 <[email protected]> Co-authored-by: Oliver <[email protected]>
Fixes #5890, Take over the logging of standard SLF4J and redirect it into the shaded SLF4J.