Update query.py

removed logger