Question: loglevel and stdout/stderr configuration

hey all :waving_hand:

we are running temporal in an azure k8s cluster - deploying it via helm. I was wondering about the amount of logs we are seeing and wanted to configure it accordingly to reduce some logs in some environments.

I saw that we could set the LogLevel to something like warn or error - which is like most logging frameworks do. but when searching the helm values provided I saw that the log level is set to debug,info by default. The docs say that info is the default - I haven’t seen anything explaining why there are two values in the default:

can someone give me a brief explanation on this - what this is supposed to control when there are two values set?

another thing I stumbled upon is that even though stdout should be true by default - as least what I think as we do not supply any value for that:

I still see some outputs in stderr:

to be honest: I wouldn’t expect debug logs to be written to stderr :slight_smile:

As you can already figure I am no go guy and I have read that zap uses stderr by default (if that is correct). might it be that when these logs are being written the stdout true config value is not being considered?

thanks again for explaining this to me.

Marcus