From 9d428b50f71577dc20325fcc4af1dcf8732640c7 Mon Sep 17 00:00:00 2001
From: Pavol Loffay
Date: Wed, 26 Oct 2022 12:43:39 +0200
Subject: [PATCH] Make logging easier to configure (#1193)
* Make logging easier to configure
Signed-off-by: Pavol Loffay
* Fix
Signed-off-by: Pavol Loffay
Signed-off-by: Pavol Loffay
---
.../manifests/opentelemetry-operator.clusterserviceversion.yaml | 2 ++
config/default/manager_auth_proxy_patch.yaml | 2 ++
2 files changed, 4 insertions(+)
diff --git a/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml b/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml
index 296b50a997..1b73263949 100644
--- a/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml
+++ b/bundle/manifests/opentelemetry-operator.clusterserviceversion.yaml
@@ -294,6 +294,8 @@ spec:
- args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
+ - --zap-log-level=info
+ - --zap-time-encoding=rfc3339nano
image: ghcr.io/open-telemetry/opentelemetry-operator/opentelemetry-operator:0.61.0
livenessProbe:
httpGet:
diff --git a/config/default/manager_auth_proxy_patch.yaml b/config/default/manager_auth_proxy_patch.yaml
index f0f06c1ff6..f44f9c71e9 100644
--- a/config/default/manager_auth_proxy_patch.yaml
+++ b/config/default/manager_auth_proxy_patch.yaml
@@ -31,3 +31,5 @@ spec:
args:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election"
+ - "--zap-log-level=info"
+ - "--zap-time-encoding=rfc3339nano"