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: https://realm.mongodb.com/groups/5bc1648acf09a2891bf25a98/apps/5e74024322411824cc3e0e1d/functions/5f63ed07aa7bcc0d33f93877
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.