The Wayback Machine - https://web.archive.org/web/20230308053647/https://github.com/apache/rocketmq/pull/5540
Skip to content
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

[ISSUE #5484] Replace logging module with the shaded logback #5540

Merged
merged 3 commits into from Nov 21, 2022

Conversation

aaron-ai
Copy link
Member

fixes #5484

@aaron-ai aaron-ai force-pushed the remove_logging_module branch 2 times, most recently from 2b45f3e to 5f2c8d7 Compare November 18, 2022 06:52
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2022

Codecov Report

Merging #5540 (2b45f3e) into develop (0b24e87) will decrease coverage by 0.19%.
The diff coverage is 69.11%.

Current head 2b45f3e differs from pull request most recent head aac7e19. Consider uploading reports for the commit aac7e19 to get more accurate results

@@              Coverage Diff              @@
##             develop    #5540      +/-   ##
=============================================
- Coverage      42.72%   42.52%   -0.20%     
+ Complexity      8032     7952      -80     
=============================================
  Files           1031     1022       -9     
  Lines          72741    71249    -1492     
  Branches        9613     9398     -215     
=============================================
- Hits           31079    30301     -778     
+ Misses         37718    37120     -598     
+ Partials        3944     3828     -116     
Impacted Files Coverage Δ
...apache/rocketmq/broker/BrokerPreOnlineService.java 0.00% <0.00%> (ø)
...java/org/apache/rocketmq/broker/BrokerStartup.java 8.00% <0.00%> (+0.25%) ⬆️
...ketmq/broker/dledger/DLedgerRoleChangeHandler.java 0.00% <0.00%> (ø)
...he/rocketmq/broker/filtersrv/FilterServerUtil.java 0.00% <ø> (ø)
.../broker/longpolling/LmqPullRequestHoldService.java 0.00% <0.00%> (ø)
...etmq/broker/processor/ForwardRequestProcessor.java 0.00% <0.00%> (ø)
...main/java/org/apache/rocketmq/client/MQHelper.java 0.00% <0.00%> (ø)
...client/consumer/MQPullConsumerScheduleService.java 0.00% <0.00%> (ø)
...sumer/rebalance/AllocateMessageQueueAveragely.java 86.66% <ø> (+7.71%) ⬆️
...balance/AllocateMessageQueueAveragelyByCircle.java 90.00% <ø> (+11.42%) ⬆️
... and 240 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@aaron-ai aaron-ai merged commit a68078f into apache:develop Nov 21, 2022
9 checks passed
<dependency>
<groupId>io.github.aliyun-mq</groupId>
<artifactId>rocketmq-slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>io.github.aliyun-mq</groupId>
<artifactId>rocketmq-logback-classic</artifactId>
</dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, It would be better to put it in a more neutral repo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RongtongJin Actually a more neutral repo(e.g. some other repos which belong to apache rocketmq) is considered, but we want to avoid the redundant polling procedure at present, because we'd better to keep up to date with the original version, current polling procedure is uncesscary.

On the other hand, I think current group id is ok because the License is more important, or we could refer to the dependency of fastjson.

drpmma pushed a commit that referenced this pull request Feb 21, 2023
* Replace logging module with the shaded logback

* Add license header

* Fix bazel compile issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants