Proper logging of endpoints