Q:

Go runtime logging verbosity change

I need to change logging verbosity/level while Golang application is running, without restarting
I came from PHP where there are several logging frameworks supporting DB-based configuration change on run-time
What's the most standard/canonical way to achieve this kind of functionality in Go?

A:

I would recommend using a library like https://github.com/sirupsen/logrus that has built in logging levels. Also can do structured logging

