1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-20 10:42:11 +08:00

loggers: set level

This commit is contained in:
Juan Batiz-Benet
2014-10-04 03:53:21 -07:00
parent 7e1cd59259
commit 0c8ae7674e
12 changed files with 21 additions and 26 deletions

View File

@ -9,7 +9,6 @@ import (
flag "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/gonuts/flag"
commander "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/commander"
ma "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr"
logging "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/op/go-logging"
config "github.com/jbenet/go-ipfs/config"
core "github.com/jbenet/go-ipfs/core"
@ -62,7 +61,7 @@ Use "ipfs help <command>" for more information about a command.
}
// log is the command logger
var log = u.Logger("cmd/ipfs", logging.ERROR)
var log = u.Logger("cmd/ipfs")
func init() {
config, err := config.PathRoot()