Show HN: Django SQL Sniffer – monitor SQL executed by a running Python process
github.com
github.com
import logging l = logging.getLogger('django.db.backends') l.setLevel(logging.DEBUG) l.addHandler(logging.StreamHandler())
Does your solution work on windows?
The tool doesn't work on windows currently, but I'll prioritize adding support for it; I believe it should be a minor tweak.