Skip to content

There are info level logs even though we set log.level to warn in configmap argocd-image-updater-config #903

@wd

Description

@wd

Describe the bug

There are info level logs even though we set log.level to warn in configmap argocd-image-updater-config

To Reproduce
Install argocd-image-updater from helm chart, and set the logLevel to warn
https://github.com/argoproj/argo-helm/blob/argo-cd-7.5.1/charts/argocd-image-updater/values.yaml#L146

There will be info logs printed.

Expected behavior
Only logs above the warning should be printed.

Additional context

Version
v0.15.0

Logs

time="2024-10-31T06:36:23Z" level=info msg="git checkout --force master" dir=/tmp/git-pixel-dev3424132615 execID=1b357
time="2024-10-31T06:36:24Z" level=info msg=Trace args="[git checkout --force master]" dir=/tmp/git-pixel-dev3424132615 operation_name="exec git" time_ms=338.770766
time="2024-10-31T06:36:24Z" level=info msg="git clean -ffdx" dir=/tmp/git-pixel-dev3424132615 execID=c4aba
time="2024-10-31T06:36:24Z" level=info msg=Trace args="[git clean -ffdx]" dir=/tmp/git-pixel-dev3424132615 operation_name="exec git" time_ms=30.726668
time="2024-10-31T06:36:24Z" level=info msg="Starting configmap/secret informers"
time="2024-10-31T06:36:25Z" level=info msg="Configmap/secret informer synced"
time="2024-10-31T06:36:25Z" level=info msg="secrets informer cancelled"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions