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

[chore][stanza/fileconsumer] improve logging #35846

Merged

Conversation

VihasMakwana
Copy link
Contributor

If any error is encountered while processing a token, the log message would look like:

2024-10-01T14:57:41.620+0100 error reader/reader.go:140 process: %w error-message

There's no need for %w and we can remove it.

@VihasMakwana
Copy link
Contributor Author

@djaglowski can you take a look.

@djaglowski djaglowski merged commit 0e0e581 into open-telemetry:main Oct 24, 2024
159 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 24, 2024
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
If any error is encountered while processing a token, the log message
would look like:

`2024-10-01T14:57:41.620+0100 error reader/reader.go:140 process: %w
error-message`

There's no need for `%w` and we can remove it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants