Merge pull request #118 from c4milo/log-timestamp-fix

chore(logging): Removes duplicated timestamp during booting
This commit is contained in:
Brandon Philips 2014-05-17 16:31:07 -07:00
commit 5b1145c044

View File

@ -13,6 +13,11 @@ import (
const version = "0.7.1+git" const version = "0.7.1+git"
func init() {
//Removes timestamp since it is displayed already during booting
log.SetFlags(0)
}
func main() { func main() {
var printVersion bool var printVersion bool
flag.BoolVar(&printVersion, "version", false, "Print the version and exit") flag.BoolVar(&printVersion, "version", false, "Print the version and exit")