diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-29 14:13:00 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-29 14:13:00 (GMT) |
commit | 69ca4b3ab0cb14e5bf848b69c12f448ba0af81c5 (patch) | |
tree | 8ecb7c435831d459312d9ead76973afef3f82bac | |
parent | e31e6952793325f4c4a58c20a55c4c2d0a03b9e0 (diff) |
don't add date/time to log messages
-rw-r--r-- | src/rhimportd/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rhimportd/main.go b/src/rhimportd/main.go index 41dd36c..1d4d116 100644 --- a/src/rhimportd/main.go +++ b/src/rhimportd/main.go @@ -39,11 +39,11 @@ import ( ) func getStdLog(name string) *log.Logger { - return log.New(os.Stderr, "["+name+"] ", log.LstdFlags) + return log.New(os.Stderr, "["+name+"] ", 0) } func getDbgLog(name string) *log.Logger { - dbg := log.New(ioutil.Discard, "["+name+"] ", log.LstdFlags) + dbg := log.New(ioutil.Discard, "["+name+"] ", 0) if _, exists := os.LookupEnv("RHIMPORTD_DEBUG"); exists { dbg.SetOutput(os.Stderr) } |