1
0

Set log flag to only pring source file name and line.

This commit is contained in:
Alexander Andreev 2023-03-12 02:38:34 +04:00
parent 028708e5aa
commit ab19f045d2
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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)