logger to log and update queryhandler to support logger
Merge branch 'master' of https://github.com/calvinyu/WSE