sql queries being logged in production env