@cryptotaxi247 / kubo / commits / 162169af7

fix(2/main) respect IPFS_LOGGING == debug behvaior

License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Brian Tiger Chow committed Nov 14, 2014 at 15:48 UTC 162169af772683eaf46f08014d70d222f906b449
1 file changed +1 -1
cmd/ipfs2/main.go
+1 -1
@@ -131,7 +131,7 @@ func (i *cmdInvocation) Run() (output io.Reader, err error) {
131 if err != nil {
132 return nil, err
133 }
134 - if debug || u.GetenvBool("DEBUG") {
134 + if debug || u.GetenvBool("DEBUG") || os.Getenv("IPFS_LOGGING") == "debug" {
135 u.Debug = true
136 u.SetAllLoggers(logging.DEBUG)
137 }