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

Use context logger #590

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

trunghai95
Copy link

Closes #.

What does this PR do?

Use a more "contextual" logger to make it easy to trace the logs that belong to the same context (e.g. one API request, or one monitorTx cycle). The main idea is to generate a random "traceID" and pass it down through the ctx object.

Reviewers

Main reviewers:

Codeowner reviewers:

  • @-Alice
  • @-Bob

Copy link

cla-bot bot commented Feb 23, 2024

We require contributors/corporates @trunghai95 to read our Contributor License Agreement, please check the Individual CLA document/Corporate CLA document

Copy link

cla-bot bot commented Feb 23, 2024

We require contributors/corporates @trunghai95 to read our Contributor License Agreement, please check the Individual CLA document/Corporate CLA document

Copy link

sonarcloud bot commented Feb 23, 2024

Quality Gate Passed Quality Gate passed

Issues
12 New issues

Measures
0 Security Hotspots
No data about Coverage
0.5% Duplication on New Code

See analysis details on SonarCloud

@trunghai95
Copy link
Author

Hi team, can someone help to review this? It will take me a lot of time to resolve conflicts if this gets stuck here for too long...

@ARR552
Copy link
Contributor

ARR552 commented Sep 9, 2024

Hi @trunghai95, can you fix the conflicts?? I will add you to cla bot verification once it is done

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.

2 participants