Skip to content

Commit 009a3d0

Browse files
authored
Improve server log startup message (#358)
Improve server log startup message.
1 parent 4b94143 commit 009a3d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Fix MacOS 12 tests for go17 with -race flag (#351, @strech)
55
* Rename `testing/` and `bin/` folders (#354, @strech)
66
* Added verbose error on proxy upstream dialing (#355, @f-dg)
7+
* Improve server startup message (#358, @areveny)
78

89
# [2.3.0] - 2021-12-23
910

api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (server *ApiServer) Listen(host string, port string) {
8181
"host": host,
8282
"port": port,
8383
"version": Version,
84-
}).Info("API HTTP server starting")
84+
}).Infof("Starting HTTP server on endpoint %s:%s", host, port)
8585

8686
err := http.ListenAndServe(net.JoinHostPort(host, port), nil)
8787
if err != nil {

0 commit comments

Comments
 (0)