[Close #55]Able to log db query now.