diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-04 00:26:12 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-04 00:26:12 (GMT) |
commit | 80c19f00f3b098621fe5bb8f42c009f2890e84f8 (patch) | |
tree | aedaa9ff503802941c4539f8a2d9d1b4a5a1115a /src/helsinki.at/rhimportd/log.go | |
parent | ece69efd67af2982cac882b9192872c7ff6957bb (diff) |
introduced conf
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) ) |