I am seeing some strange behavior with the logging of a realm function.
When I run my function, it is supposed to query for documents in a collection and make updates to the documents it queries.
For a bit now, the logs I see are telling me that the function isn’t finding any documents, however, I know that it is actually updating these documents because I can see the updates happening in Atlas. Nothing else could be making these updates, only the function. And, in terms of the logging, I am referring to the logs inside of the function editor itself when you click the “Run” button.
Here’s a link to my function for context: MongoDB Realm
One of the things it does is log the length of documents it found, and it currently keeps logging 0 even though it is obviously finding documents and making updates.
Also for further context, it was logging correctly beforehand.