GoLang Dynamic logging

How to dynamically change log level without restarting the application in goLang?

Hi @adutt003,

Welcome to the forum.

I guess this would depend on the particular logging package you are using. The standard log package, for example, has no concept of log levels at all, while other logging packages introduce various kinds of log leveling, including different ways of changing the active log level at runtime.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.