How to disable logging

yourbasic.org/golang

See Write log to file (or /dev/null).