rest: logging clean up