Improve logging detail and consistency

Closes #114
This commit is contained in:
Thom Seddon
2020-05-11 14:42:53 +01:00
parent 7381450015
commit eec62eb03a
2 changed files with 39 additions and 26 deletions

View File

@ -24,7 +24,7 @@ func main() {
http.HandleFunc("/", server.RootHandler)
// Start
log.Debugf("Starting with options: %s", config)
log.WithField("config", config).Debug("Starting with config")
log.Info("Listening on :4181")
log.Info(http.ListenAndServe(":4181", nil))
}