diff options
Diffstat (limited to 'src/helsinki.at/rhimport/log.go')
-rw-r--r-- | src/helsinki.at/rhimport/log.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/helsinki.at/rhimport/log.go b/src/helsinki.at/rhimport/log.go index 46b0e52..b192c30 100644 --- a/src/helsinki.at/rhimport/log.go +++ b/src/helsinki.at/rhimport/log.go @@ -25,14 +25,13 @@ package rhimport 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, "[rhimport]\t", log.LstdFlags) + rhdl = log.New(os.Stderr, "[rhimport-dbg]\t", log.LstdFlags) + //rhdl = log.New(ioutil.Discard, "[rhimport-dbg]\t", log.LstdFlags) ) |