Fixing request path log to occur after rewriting