Log4rs - what is the purpose of refresh_rate in the config?


#1

I think it’s talking about reloading the config file itself, but for what reason? In a production environment, when would you want to change how the logging works while the application is still running?

If that’s not the purpose of refresh_rate, then what is?


#2

Yep, it’s used when you want to adjust the logging config without rebooting the process.