roadrunner
roadrunner copied to clipboard
[💡 FEATURE REQUEST]: Add debug mode indication to plugin start log
trafficstars
Plugin
Server
I have an idea!
Hello! I often have to switch between debug mode and back.
It is not always clear what mode the server is in. What if we add this information for each plugin?
For example pool.debug or debug:
{"level":"debug","ts":1728138499360931181,"logger":"http","msg":"http server was started", "pool.debug": "true", "address":"0.0.0.0:8080"}
Hey @Kaspiman 👋
Actually, a good idea. To do that, we need to add a some kind of Mode() Mode method to the static pool with 2 modes (atm), Debug and...hm, Production... Need to think about the non-debug mode name.
And then use this mode in plugins to check the pool state and print this info (once) in the logs under I think info log level.