You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: stop library from overriding application logging config (#81)
* fix: stop library from overriding application logging config
Remove dictConfig() call from Graph.__init__ that was replacing the
host application's entire logging setup. Follow Python best practice
for library logging: add NullHandler to top-level 'cog' logger and
let the application control its own configuration.
- Remove logging_config dict from config.py
- Remove dictConfig call and import from torque.py
- Add NullHandler in cog/__init__.py
- Namespace all loggers under 'cog.' (e.g. cog.torque, cog.database)
- Clean up dictConfig references in test files
* using __name__ for logger where possible
0 commit comments