Jicofo no longer logs "conference count"

I have noticed that since jicofo no longer connects to prosody as a component, I no longer see logs like:

Jicofo 2021-07-14 13:55:47.221 INFO: [28] org.jitsi.jicofo.FocusManager.log() Disposed conference for room: 907c5477@conference.jitsi.host conference count: 94

I find that “conference count: 94” is great to extract to a metric, as it shows the number of active conferences over time.

Is there a way to get that log back, or another way to log or query the count of active conferences?

@Boris_Grozev wdyt?

@cwarren you better use the REST Api to extract stats and push them to some backend for stats every minute or so …
That API will not change where logs can change every now and then


Look for Stopped.

apt-get install curl jq

curl -s | jq '.conferences'

Thanks everyone :slightly_smiling_face: