Skip to content

migrating klog to zap logger and adding requestID for tracing - #318

Open
balraj111 wants to merge 64 commits into
mainfrom
logging-add-reqid-34
Open

migrating klog to zap logger and adding requestID for tracing#318
balraj111 wants to merge 64 commits into
mainfrom
logging-add-reqid-34

Conversation

@balraj111

Copy link
Copy Markdown
Collaborator

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • I have made sure existing UTs are not impacted
  • I have executed all necessary linter and made sure internal pipeline/travis is not broken

@balraj111 balraj111 self-assigned this Jun 17, 2026
@balraj111 balraj111 changed the title Logging add reqid 34 migrating klog to zap logger and adding requestID for tracing Jun 17, 2026
@contsto

contsto commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

🔴 Coverage decreased from 84.86% to 81.97%

@contsto

contsto commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

🔴 Coverage decreased from 84.86% to 81.96%

- Removed hardcoded 'service' and 'component' fields from logger initialization
- Updated cmd/main.go to remove .With() call adding these fields
- Updated pkg/logger/factory.go to remove service field from both JSON and Console loggers
- All tests passing with cleaner log output containing only relevant contextual fields
@contsto

contsto commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

🔴 Coverage decreased from 84.86% to 81.96%

@contsto

contsto commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

🔴 Coverage decreased from 84.86% to 81.96%

@contsto

contsto commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

🔴 Coverage decreased from 84.86% to 81.96%

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