Fix the http port used not in sync with what is logged (#766)
* Fix the http port used not in sync with what is logged * Actually fix the logging race condition * Move the router logging to the router package
This commit is contained in:
@@ -185,7 +185,8 @@ func Start() error {
|
||||
|
||||
port := config.WebServerPort
|
||||
|
||||
log.Tracef("Web server running on port: %d", port)
|
||||
log.Infof("Web server is listening on port %d.", port)
|
||||
log.Infoln("The web admin interface is available at /admin.")
|
||||
|
||||
return http.ListenAndServe(fmt.Sprintf(":%d", port), nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user