Skip to content

Commit

Permalink
Change log order
Browse files Browse the repository at this point in the history
Co-authored-by: SLahiruC <40932779+slahirucd7@users.noreply.github.com>
  • Loading branch information
Avishka-Shamendra and slahirucd7 authored Sep 25, 2023
1 parent fbcc13e commit aaef8bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adapter/internal/adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,16 @@ func Run(conf *config.Config) {
})
}

logger.LoggerMgw.Info("Starting adapter ....")

// Start the metrics server
if conf.Adapter.Metrics.Enabled && strings.ToLower(conf.Adapter.Metrics.Type) == metrics.PrometheusMetricType {
logger.LoggerMgw.Info("Starting Prometheus Metrics Server ....")
go metrics.StartPrometheusMetricsServer(conf.Adapter.Metrics.Port, conf.Adapter.Metrics.CollectionInterval)

}

logger.LoggerMgw.Info("Starting adapter ....")

cache := xds.GetXdsCache()
enforcerCache := xds.GetEnforcerCache()
enforcerSubscriptionCache := xds.GetEnforcerSubscriptionCache()
Expand Down

0 comments on commit aaef8bc

Please sign in to comment.