3 ms·
Show HN: Django SQL Sniffer – monitor SQL executed by a running Python process
- lpellis 6y agoLooks pretty cool, I've been using this logging setup that prints queries to the console, but it gets a bit verbose import logging l = logging.getLogger('django.db.backends') l.setLevel(logging.DEBUG) l.addHandler(logging.StreamHandler()) Does your solution work on windows?
- gruuya 6y agoThanks! The tool doesn't work on windows currently, but I'll prioritize adding support for it; I believe it should be a minor tweak.