mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
2facc04673
Next steps, in another PR, would be: - make all logging go through the logrus stuff - I'd like to see if we can remove the env var stuff (like DEBUG) but we'll see Closes #5198 Signed-off-by: Doug Davis <dug@us.ibm.com>
12 lines
148 B
Go
12 lines
148 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
log "github.com/Sirupsen/logrus"
|
|
)
|
|
|
|
func initLogging(lvl log.Level) {
|
|
log.SetOutput(os.Stderr)
|
|
log.SetLevel(lvl)
|
|
}
|