Skip to content

Commit 86c8b0c

Browse files
committed
Configure manager logging and set level to info
1 parent ec51eda commit 86c8b0c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/manager/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
args:
3434
- --enable-leader-election
3535
- --storage-path=/data
36-
- --log-level=debug
36+
- --log-level=info
3737
- --log-json
3838
env:
3939
- name: RUNTIME_NAMESPACE

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func main() {
102102
LeaderElection: enableLeaderElection,
103103
LeaderElectionID: "305740c0.fluxcd.io",
104104
Namespace: os.Getenv("RUNTIME_NAMESPACE"),
105+
Logger: ctrl.Log,
105106
})
106107
if err != nil {
107108
setupLog.Error(err, "unable to start manager")

0 commit comments

Comments
 (0)