add logging schema, log requests before redirect