summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport/log.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-04 00:26:12 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-04 00:26:12 (GMT)
commit80c19f00f3b098621fe5bb8f42c009f2890e84f8 (patch)
treeaedaa9ff503802941c4539f8a2d9d1b4a5a1115a /src/helsinki.at/rhimport/log.go
parentece69efd67af2982cac882b9192872c7ff6957bb (diff)
introduced conf
Diffstat (limited to 'src/helsinki.at/rhimport/log.go')
-rw-r--r--src/helsinki.at/rhimport/log.go9
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)
)