mirror of
https://github.com/containous/traefik.git
synced 2025-03-22 02:50:13 +03:00
Add version in logs
This commit is contained in:
parent
89e00eb5a4
commit
0821c7bdd9
@ -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…
x
Reference in New Issue
Block a user