Add configurable option to silence SQL queries in log.