mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-23 07:35:04 +01:00
add log line
This commit is contained in:
2
main.go
2
main.go
@@ -171,6 +171,8 @@ func main() {
|
||||
// Setup metrics endpoint at another server
|
||||
prom.SetMetricsPath(echoPrometheus)
|
||||
go func() {
|
||||
echoPrometheus.Logger = logger
|
||||
echoPrometheus.Logger.Infof("Starting prometheus on port %d", svc.Config.PrometheusPort)
|
||||
echoPrometheus.Logger.Fatal(echoPrometheus.Start(fmt.Sprintf(":%d", svc.Config.PrometheusPort)))
|
||||
}()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user