#Disabling opentelemetry logs

1 messages · Page 1 of 1 (latest)

tacit swift
#

How do you setup your logging?

#

@small merlin, do you mind moving the discussion here?

#

@small merlin, based on your config, I think what's happening is that you're adding the StreamHandler to all loggers, with basicConfig. So adding the NullHandler doesn't remove that StreamHandler.

small merlin
#

Sorry yes - I only saw these messages now

#

Okay thanks, do you know how to fix that?

tacit swift
small merlin
#

Just one question, are the logs themselves not reflective of an underlying issue? My understand that these methods simply stop the logs, but something is still happening at the end of my pipeline, it is just no logger logging?

#

Okay wait nvm, that is what the get_tracer_provider().shutdown() is for