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

stderrthreshold not honored by operator-metrics-apiserver #696

Open
harelhadar opened this issue Oct 22, 2024 · 0 comments
Open

stderrthreshold not honored by operator-metrics-apiserver #696

harelhadar opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@harelhadar
Copy link

After upgrading KEDA to version 2.15.1 , the operator-metrics-apiserver is displaying unexpected logging behavior, including excessive log output at various levels.

Expected Behavior

The operator-metrics-apiserver should log only at the ERROR level by default.
The allowed values for the stderrthreshold configuration are: 'DEBUG','INFO','WARN','ERROR','ALERT','EMERG'

Actual Behavior

The operator-metrics-apiserver outputs logs of all levels by default.
The operator crashes when attempting to set the stderrthreshold to any value other than ERROR .

Steps to Reproduce the Problem

  1. Upgrade KEDA to version 2.15.1 .
  2. Observe the logs of operator-metrics-apiserver.
  3. Change the stderrthreshold to any value other than ERROR

Specifications

  • KEDA Version: 2.15.1
  • Platform & Version: K8S-AKS/EKS/GKE
  • Kubernetes Version: v1.29.8
  • Scaler(s): Prometheus, New-Relic, RabbitMQ

Attached files

crash.txt
censored logs with traces.txt

@harelhadar harelhadar added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant