All my mongoDB documents are being deleted after a few hours

Using mongoose.set(‘debug’, true);, i tried logging the event, but as i said, there are no logs at all. I am 100% sure I dont have any deleteMany methods in the code. It just gets randomly deleted without any logs at all. How would i use the setProfilingLevel(0,0) method in mongoose?