fixed logger issue and added support for bool queries
Merge pull request #1 from SportNginLabs/fix_logger

fixed logger issue and added support for bool queries