Express middleware to log Knex.js queries