From 5b7a66e4f7de97a070db6f32fb0fdf960ddb0d41 Mon Sep 17 00:00:00 2001 From: Adarsh Verma <113962919+Adarsh-verma-14@users.noreply.github.com> Date: Wed, 13 Sep 2023 16:20:54 +0530 Subject: [PATCH] Show only logs with a severity level of ERROR or higher in the stderr (#4952) * Show only logs with a severity level of ERROR or higher in the stderr Signed-off-by: Adarsh-verma-14 * modify the CHANGELOG.md Signed-off-by: Adarsh-verma-14 * update message in changelog Signed-off-by: Adarsh-verma-14 * Update CHANGELOG.md Signed-off-by: Zbynek Roubalik --------- Signed-off-by: Adarsh-verma-14 Signed-off-by: Zbynek Roubalik Co-authored-by: Zbynek Roubalik --- CHANGELOG.md | 1 + config/metrics-server/deployment.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc4315167db..74853d133e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,6 +86,7 @@ New deprecation(s): - **General**: Fixed a typo in the StatefulSet scaling resolver ([#4902](https://github.com/kedacore/keda/pull/4902)) - **General**: Refactor ScaledJob related methods to be located at scale_handler ([#4781](https://github.com/kedacore/keda/issues/4781)) - **General**: Replace deprecated `set-output` command with environment file ([#4914](https://github.com/kedacore/keda/issues/4914)) +- **General**: In Metrics server show only logs with a severity level of ERROR or higher in the stderr ([#4049](https://github.com/kedacore/keda/issues/4049)) ## v2.11.2 diff --git a/config/metrics-server/deployment.yaml b/config/metrics-server/deployment.yaml index a6f7f88625f..9f67dcd8052 100644 --- a/config/metrics-server/deployment.yaml +++ b/config/metrics-server/deployment.yaml @@ -58,6 +58,7 @@ spec: - /usr/local/bin/keda-adapter - --secure-port=6443 - --logtostderr=true + - --stderrthreshold=ERROR - --v=0 - --client-ca-file=/certs/ca.crt - --tls-cert-file=/certs/tls.crt