Some info logs logged from sidecar when sdkServer.logLevel set to Error #3629
Labels
good first issue
These are great first issues. If you are looking for a place to start, start here!
help wanted
We would love help on these issues. Please come help us!
kind/bug
These are bugs.
What happened:
With
sdkServer.logLevel
set toError
sidecar logs are still visible such asAnd
What you expected to happen:
To see only error logs from the sidecar
How to reproduce it (as minimally and precisely as possible):
sdkServer.logLevel
toError
via manifest entryAnything else we need to know?:
One log originates here https://github.com/googleforgames/agones/blob/main/cmd/sdk-server/main.go#L231
Another log originates here https://github.com/googleforgames/agones/blob/main/cmd/sdk-server/main.go#L75
These are triggered before logging is configured.
@markmandel posted that logging is configured here https://github.com/googleforgames/agones/blob/5f58fce4c00f97ef012db8f8a503898a4725d11b/pkg/sdkserver/sdkserver.go#L249C1-L261C3
Suggestion from Mark
Environment:
kubectl version
): 1.26The text was updated successfully, but these errors were encountered: