Add version in logs
This commit is contained in:
parent
89e00eb5a4
commit
0821c7bdd9
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ func run(traefikConfiguration *TraefikConfiguration) {
|
|||
log.SetFormatter(&log.TextFormatter{FullTimestamp: true, DisableSorting: true})
|
||||
}
|
||||
jsonConf, _ := json.Marshal(globalConfiguration)
|
||||
log.Infof("Traefik version %s built on %s", Version, BuildDate)
|
||||
log.Debugf("Global configuration loaded %s", string(jsonConf))
|
||||
server := NewServer(globalConfiguration)
|
||||
server.Start()
|
||||
|
|
Loading…
Reference in a new issue