mirror of https://github.com/fluxcd/flux2.git
set controller-runtime logger to a null logger
This is required because controller-runtime expects its consumers to set a logger through log.SetLogger within 30 seconds of the program's initalization. If not set, the entire debug stack is printed as an error. Ref: https://github.com/kubernetes-sigs/controller-runtime/blob/ed8be90/pkg/log/log.go#L59 Since we have our own logging and don't care about controller-runtime's logger, we configure it's logger to do nothing. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>pull/3932/head
parent
9ee23a9086
commit
aa65589391
Loading…
Reference in New Issue