fix log pattern for restapi