improve logging in TreeNodeDocumentUpdatedListener