-
Notifications
You must be signed in to change notification settings - Fork 570
OLM seems to be only logging to stderr #2131
Copy link
Copy link
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Milestone
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Bug Report
We're using Datadog for our logging system, and all of OLM's logging is showing up at the ERROR level. We reached out to Datadog and confirmed that the most likely situation where this would occur is if OLM is logging to STDERR instead of STDOUT. I have not been able to come up with a good way to check if this is the case or not though.
What did you do?
Standard install of OLM, no changes from default.
What did you expect to see?
Logging showing up as INFO
What did you see instead? Under which circumstances?
Logging showing up as ERROR
Environment
v0.18.0
AKS w/ VMSS
Possible Solution
OLM should log errors to STDERR, and everything else to STDOUT.
Additional context
It also seems like debug logging may be enabled for the packageserver deployment, it's extremely noisy and the logs don't seem particularly useful unless you're an OLM developer.