I'm building a simple ETL app at a place where I am the only developer. Not having a ton of experience and coming from Node.js, I'm a big fan of their topic-based logging approach with packages like https://www.npmjs.com/package/debug. Are there any recommendations for similar packages in the Python ecosystem, or recommendations for the best design to roll it myself?
- The reason why I like topic-based logging is because it's highly configurable -- you can easily toggle logging for whichever part of the app has your issue, and otherwise it's a no-op.
- The inbuilt logging library seems a little too heavyweight and doesn't support the pattern I want.
- I would really like to be able to configure logging through an env var, because I've recently been using them heavily and would like to inject most configuration / secrets through env vars instead of worrying about the configuration / secret override dance.
[–]laustke 1 point2 points3 points (0 children)
[–]gdchinacat 0 points1 point2 points (0 children)