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

Adding logging to scanner.go #5535

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

agautam478
Copy link
Contributor

@agautam478 agautam478 commented Dec 22, 2023

What changed?
No functionality changes but added logs to the scanner.go file for better observability.

Why?
Due to lack of logging it's extremely hard to figure out where, why or when something broke in the scanner. Since, it's already such a complicated system, more logging will hep us debug issues faster

How did you test it?
Yes, tested locally.

Potential risks

Release notes

Documentation Changes

service/worker/scanner/scanner.go Show resolved Hide resolved
service/worker/scanner/scanner.go Show resolved Hide resolved
service/worker/scanner/scanner.go Show resolved Hide resolved
@agautam478 agautam478 merged commit bfe23d8 into cadence-workflow:master Dec 22, 2023
16 checks passed
@@ -111,6 +111,7 @@ func New(
if err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

nit: we need to propagate and use log wrapper here.

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.

3 participants