Thank you for posting in this community.
Question 1: white list document in SharePoint 2019.
Unfortunately, there is no place to set up a file type whitelist in SharePoint 2019. We can only specify those files that cannot be uploaded to SharePoint. Maybe you can add all the common file suffixes in windows to the Blocked File Types and remove doc and txt to meet your needs. If there are other types of files that are subsequently prohibited from being uploaded, you can add them to the Blocked File Types.
Question 2: crawl log error
Since we can't reproduce your situation, we need to narrow down the problem and try some things.
1.The error “The object was not found” may occur when the crawler tries to crawl items that have been moved, deleted, or renamed on the server. To solve this problem, you can create crawler rules to exclude these paths to the deleted content.
- Please try to reset the indexes and then do a full crawl again.
3.If the problem persists, please provide a more detailed error message. This will help us to solve the problem better. Please be careful to code your private information.
If there is any other assistance I can provide, please feel free to let me know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.