-
Notifications
You must be signed in to change notification settings - Fork 641
[ISSUE #4502] Optimizing Log Printing Using the LogUtils (#4502) #4507
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
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.
Welcome to the Apache EventMesh community!!
This is your first PR in our project. We're very excited to have you onboard contributing. Your contributions are greatly appreciated!
Please make sure that the changes are covered by tests.
We will be here shortly.
Let us know if you need any help!
Want to get closer to the community?
| WeChat Assistant | WeChat Public Account | Slack |
|---|---|---|
![]() |
![]() |
Join Slack Chat |
Mailing Lists:
| Name | Description | Subscribe | Unsubscribe | Archive |
|---|---|---|---|---|
| Users | User support and questions mailing list | Subscribe | Unsubscribe | Mail Archives |
| Development | Development related discussions | Subscribe | Unsubscribe | Mail Archives |
| Commits | All commits to repositories | Subscribe | Unsubscribe | Mail Archives |
| Issues | Issues or PRs comments and reviews | Subscribe | Unsubscribe | Mail Archives |
Pil0tXia
left a comment
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.
Overall great job for a freshman. However, there were some ill-formed modifications introduced. Please revert these non-standard formattings.
eventmesh-common/src/main/java/org/apache/eventmesh/common/file/WatchFileTask.java
Show resolved
Hide resolved
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/tcp/codec/Codec.java
Outdated
Show resolved
Hide resolved
...nector-jdbc/src/main/java/org/apache/eventmesh/connector/jdbc/connection/JdbcConnection.java
Outdated
Show resolved
Hide resolved
...nector-jdbc/src/main/java/org/apache/eventmesh/connector/jdbc/connection/JdbcConnection.java
Show resolved
Hide resolved
...nector-jdbc/src/main/java/org/apache/eventmesh/connector/jdbc/connection/JdbcConnection.java
Show resolved
Hide resolved
...c/main/java/org/apache/eventmesh/connector/jdbc/source/dialect/cdc/mysql/MysqlCdcEngine.java
Show resolved
Hide resolved
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/EventMeshUtil.java
Show resolved
Hide resolved
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/EventMeshUtil.java
Show resolved
Hide resolved
mxsm
left a comment
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.
@scwlkq Thanks for your contribution! I have a small suggestion that PRs should try to do one thing at a time. So this PR should only handle log processing. I saw that there are many format changes and method moves, as well as code deletions, etc. If necessary, these issues can be handled by raising new ISSues instead of handling them in one PR. Try to avoid doing multiple things in one PR.
Codecov Report
@@ Coverage Diff @@
## master #4507 +/- ##
============================================
+ Coverage 15.91% 16.09% +0.18%
- Complexity 1545 1550 +5
============================================
Files 730 730
Lines 28896 28640 -256
Branches 2745 2523 -222
============================================
+ Hits 4600 4611 +11
+ Misses 23816 23581 -235
+ Partials 480 448 -32
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
mxsm
left a comment
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.
@scwlkq This branch has conflicts that must be resolved
|
It was my negligence to configure checkcode but not apply it. I will correct the points mentioned above. Thank you for your patience and correction. |
eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/app/service/SubService.java
Show resolved
Hide resolved
...rg/apache/eventmesh/runtime/core/protocol/http/processor/LocalUnSubscribeEventProcessor.java
Show resolved
Hide resolved
...ain/java/org/apache/eventmesh/runtime/core/protocol/http/processor/UnSubscribeProcessor.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/eventmesh/runtime/core/protocol/http/push/AsyncHTTPPushRequest.java
Show resolved
Hide resolved
...ain/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/group/ClientGroupWrapper.java
Show resolved
Hide resolved
...ain/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/group/ClientGroupWrapper.java
Outdated
Show resolved
Hide resolved
...-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/consumer/EventMeshGrpcConsumer.java
Show resolved
Hide resolved
...tmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/consumer/SubStreamHandler.java
Show resolved
Hide resolved
mxsm
left a comment
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.
@scwlkq Please fix CI
...bhook-admin/src/main/java/org/apache/eventmesh/webhook/admin/FileWebHookConfigOperation.java
Show resolved
Hide resolved
...c/main/java/org/apache/eventmesh/runtime/admin/handler/RedirectClientBySubSystemHandler.java
Show resolved
Hide resolved
eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/common/RequestContext.java
Outdated
Show resolved
Hide resolved
eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/demo/SyncPubClient.java
Outdated
Show resolved
Hide resolved
eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/demo/BroadCastSubClient.java
Outdated
Show resolved
Hide resolved
...-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/producer/EventMeshGrpcProducer.java
Outdated
Show resolved
Hide resolved
Pil0tXia
left a comment
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.
LGTM


Fixes #4502
Motivation
Modifications
Documentation