Update nextcloud to 31.0.0 now elasticsearch not working

Anyone run into the incompatibility with Elasticsearch already?

I upgraded my instance to v31yesterday and noticed that every Elasticsearch command crashed with an “OCI/ILogger something not available” message.
After some back and forth I noticed that it’s the Elasticsearch file plugin which creates the error. When disabled the error message is gone, but obviously without file indexing Elasticsearch is of not much use.

I also found this note Upgrade to Nextcloud 31 — Nextcloud latest Developer Manual latest documentation which confirms that the iLoger API has been discontinued with NC 31.
So I guess the Elasticsearch files plugin needs code changes to make things work again.