diff options
Diffstat (limited to 'src/helsinki.at/rhimportd/log.go')
-rw-r--r-- | src/helsinki.at/rhimportd/log.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/helsinki.at/rhimportd/log.go b/src/helsinki.at/rhimportd/log.go index 5ff3e6d..d122e55 100644 --- a/src/helsinki.at/rhimportd/log.go +++ b/src/helsinki.at/rhimportd/log.go @@ -25,14 +25,13 @@ package main import ( - "io/ioutil" + // "io/ioutil" "log" "os" ) var ( - rhl = log.New(os.Stderr, "[rhimport]\t", log.LstdFlags) - // use ioutil.Discard to switch that thing off - // rhtl = log.New(os.Stderr, "[rhdbg]\t", log.LstdFlags) - rhtl = log.New(ioutil.Discard, "[rhimport-dbg]\t", log.LstdFlags) + rhl = log.New(os.Stderr, "[rhimportd]\t", log.LstdFlags) + rhdl = log.New(os.Stderr, "[rhimportd-dbg]\t", log.LstdFlags) + //rhdl = log.New(ioutil.Discard, "[rhimportd-dbg]\t", log.LstdFlags) ) |