Q: "How do you handle logs? I am looking for tools to better format my logs and maybe process and filter them"
- The call to basicConfig() should come before any calls to debug(), info() etc. As it’s intended as a one-off simple configuration facility, only the first call will actually do anything: subsequent calls are effectively no-ops.
On error handling: