Automaxprocs library prints log in a different format then the rest of the KEDA operator #5970
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Looking for support from community
Report
With the addition of the automaxprocs package to set GOMAXPROCS (#4999), the KEDA operator now prints one console type log on startup, then switches to the format configured by
logging.operator.format
:We are running KEDA in an environment where this is breaking our log ingestion, as we expect only one log format. The way to disable this logging, or implement it with the same logger as the rest app, is documented here: uber-go/automaxprocs#18.
Expected Behavior
When setting the
logging.operator.format
tojson
, I expect all logs produced by the KEDA operator to be in JSON format.Actual Behavior
When running KEDA operator, there is one log printed by the
automaxprocs
package that doesn't respect the format as configured by the user.Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.13.1
Kubernetes Version
1.29
Platform
Amazon Web Services
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: