add path param and log