by Too · 4y ago · 0 comments
Separation of concerns. Keeps infrastructure details out of your app and is more likely to at least leave a trace on disk in case the central logging goes south, when you need it the most.
On demand changing of log levels is still something worth keeping in application, depending on your verbosity volumes.
But sure, take this reasoning too far and you end up with micro service spaghetti, so some balance is needed.