Reintroduced support for log_queries

Passing log_queries didn't work anymore because the Moo object was without a proper accessor