add logging to checkAllMandatoryDocuments in MandatoryDocumentCompositor