Log Queries when we add a log query flag
Change logQuery from define() to OC::Config
Merge pull request #2620 from eMerzh/add_query_logs

Log DB Queries