improve url match for log