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

[pkg/stanza] Logger uses wrong case for severity #10278

Closed
jsirianni opened this issue Mar 12, 2022 · 0 comments · Fixed by #13265
Closed

[pkg/stanza] Logger uses wrong case for severity #10278

jsirianni opened this issue Mar 12, 2022 · 0 comments · Fixed by #13265
Labels
bug Something isn't working good first issue Good for newcomers priority:p2 Medium

Comments

@jsirianni
Copy link
Member

While running the contrib collector against a local build of log-collection, I noticed that the log-collection logger uses info while the logging exporter is using INFO.

2022-03-12T23:10:48.456Z	info	regex/regex.go:109	cache hit: opentelemetry-node-agent-collector-v4qwj_default_otc-container-0dc9ede9c077d55438dda1d907cb5e491df5639524542e161fa48814c10f7d6d.log	{"kind": "receiver", "name": "filelog", "operator_id": "regex_parser", "operator_type": "regex_parser"}
2022-03-12T23:10:48.616Z	INFO	loggingexporter/logging_exporter.go:69	LogsExporter	{"#logs": 43}

Not a big deal, but it does look funny when both are logging next too each other.

@djaglowski djaglowski changed the title Logger uses wrong case for severity [pkg/stanza] Logger uses wrong case for severity May 24, 2022
@djaglowski djaglowski transferred this issue from open-telemetry/opentelemetry-log-collection May 24, 2022
@djaglowski djaglowski added bug Something isn't working priority:p2 Medium good first issue Good for newcomers labels May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers priority:p2 Medium
Projects
None yet
2 participants