Skip to content

feat(log): separate database logs #4985

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

Merged

Conversation

halibobo1205
Copy link
Contributor

What does this PR do?
separate database logs
Why are these changes required?
splitting service logs and database logs to facilitate troubleshooting, previous PR: #4861
This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter
Copy link

codecov-commenter commented Feb 13, 2023

Codecov Report

Merging #4985 (c9592f9) into develop (50ad05a) will increase coverage by 0.16%.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@              Coverage Diff              @@
##             develop    #4985      +/-   ##
=============================================
+ Coverage      54.56%   54.72%   +0.16%     
- Complexity      8198     8224      +26     
=============================================
  Files            841      841              
  Lines          49702    49702              
  Branches        5456     5456              
=============================================
+ Hits           27119    27200      +81     
+ Misses         20435    20357      -78     
+ Partials        2148     2145       -3     
Impacted Files Coverage Δ
.../java/org/tron/core/consensus/BlockHandleImpl.java 65.00% <0.00%> (-15.00%) ⬇️
...rc/main/java/org/tron/consensus/dpos/DposTask.java 87.09% <0.00%> (-3.23%) ⬇️
...rc/main/java/org/tron/core/vm/program/Program.java 67.37% <0.00%> (+0.08%) ⬆️
...java/org/tron/core/capsule/TransactionCapsule.java 52.68% <0.00%> (+0.23%) ⬆️
...mework/src/main/java/org/tron/core/db/Manager.java 53.84% <0.00%> (+1.12%) ⬆️
.../src/main/java/org/tron/core/ChainBaseManager.java 90.97% <0.00%> (+1.38%) ⬆️
...in/java/org/tron/common/zksnark/JLibrustzcash.java 53.84% <0.00%> (+1.39%) ⬆️
.../common/storage/leveldb/LevelDbDataSourceImpl.java 72.48% <0.00%> (+1.74%) ⬆️
.../src/main/java/org/tron/core/config/args/Args.java 59.90% <0.00%> (+1.75%) ⬆️
...ain/java/org/tron/core/db/backup/BackupDbUtil.java 85.10% <0.00%> (+2.12%) ⬆️
... and 8 more

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

@halibobo1205 halibobo1205 changed the base branch from develop to release_v4.7.1 February 13, 2023 06:18
@forfreeday forfreeday merged commit c728bfb into tronprotocol:release_v4.7.1 Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants