log: fix routes in log message

This commit is contained in:
Evgeniy Kulikov 2020-05-12 11:19:07 +03:00
parent 54071b5da4
commit 21fc1c6e6c
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2

4
app.go
View file

@ -188,13 +188,13 @@ func (a *app) Serve(ctx context.Context) {
// enable metrics
if a.cfg.GetBool("metrics") {
a.log.Info("enabled /metrics")
a.log.Info("enabled /metrics/")
attachMetrics(r, a.wlog)
}
// enable pprof
if a.cfg.GetBool("pprof") {
a.log.Info("enabled /debug/pprof")
a.log.Info("enabled /debug/pprof/")
attachProfiler(r)
}