Log ActiveRecord queries via Slim logger.