Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Django SQL Sniffer – monitor SQL executed by a running Python process (github.com/gruuya)
4 points by gruuya 50 days ago | hide | past | favorite | 2 comments



Looks 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?


Thanks!

The tool doesn't work on windows currently, but I'll prioritize adding support for it; I believe it should be a minor tweak.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: