Commit 81292444 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Add logging for regionUrlMap in NewRootCommand for improved traceability of application routing

parent f400f08b
......@@ -87,6 +87,7 @@ func NewRootCommand() *cobra.Command {
esStore.Init()
// logConsumerService := service.NewLogConsumerService(db, esStore, config.KafkaConfig)
// go logConsumerService.Consume()
log.Info().Msgf("regionUrlMap: %v", regionUrlMap)
return e.Run(":8080")
},
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment