Set log flag to only pring source file name and line.
This commit is contained in:
parent
028708e5aa
commit
ab19f045d2
@ -27,6 +27,8 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.SetFlags(log.Lshortfile)
|
||||||
|
|
||||||
config, err := configuration.Load(*configPath)
|
config, err := configuration.Load(*configPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user