Where can I see file deletition logs?

I am using Home Assistant, and automated system backups are placed on the QNAP via SMB share. For unknown reasons, the backup file is deleted after it is created, and the file is placed in the QNAP Recycle bin, from where I can recover the file. The problem is that I cannot find why the file was deleted. I have checked Home Assistant logs, and it shows that the backup is created. On the QNAP side, I cannot seem to find the information on where the file operations logs are stored.

Any ideas on how to check file operations logs?

Dear @amnesia ,
You may refer to this FAQ, it explains how can you enable file access log for SMB. Hope this helps.

How do I check if my files/folders have been accessed?

I did that as well. I thought that it was enabled by default, but I guess Qnap did not find that necessary. Thanks.