add logging for return value in getTranslatedDocument of PDC command