moved endpoint name from log to plog