Merge pull request #118 from c4milo/log-timestamp-fix
chore(logging): Removes duplicated timestamp during booting
This commit is contained in:
commit
5b1145c044
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user