Disable logs from 3rd party libraries in Go

Viewed 75
1 Answers

The question you have pointed to describes a different situation from yours, where a custom logger is being used. In your case, with the standard logger, you should use log.SetOutput rather than redirecting os.Stderr.

Related