redhat-cop / namespace-configuration-operator

The namespace-configuration-operator helps keeping configurations related to Users, Groups and Namespaces aligned with one of more policies specified as a CRs
Apache License 2.0
204 stars 55 forks source link

How to set Log level to Error for this operator #134

Open simplyvishal opened 1 year ago

simplyvishal commented 1 year ago

Hello ,

This Operator is creating lots of Info Logs which are sent to ELK hosted in AWS for us using Openshift LogForwarder .Can you please help me how to set log level to error please ? Is it config_map or environment variable

raffaelespazzoli commented 9 months ago

for setting log level, please follow this guideline as this operator is built with operator sdk: https://sdk.operatorframework.io/docs/building-operators/golang/references/logging/