Skip to content

Commit

Permalink
add port log
Browse files Browse the repository at this point in the history
  • Loading branch information
sters committed Dec 30, 2019
1 parent 5d6ae24 commit 44d2c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
}

func runHTTPServerMode(ctx context.Context, server *http.Server) {
log.Print("http server starting")
log.Printf("http server starting, port = %s", conf.Variables.HTTPPort)
go func() { _ = server.Run() }()

sigCh := make(chan os.Signal, 1)
Expand Down

0 comments on commit 44d2c06

Please sign in to comment.