Need to save the logs on my server whenever a new meeting is started


I am new to jitsi-meet, having trouble understanding the code structure.

I have setup the jitsi-meet on my local server, all is working fine. For now, I just want one thing to save the logs on my other server running ExpressJS with Mongo DB. I have an API endpoint exposed which can save this information on my server but the problem is from where I can call my API endpoint to save the information whenever a new meeting is started.

I was looking at the code in conference.js file, there is a function _createRoom(localTracks) Is this the right function to call my API endpoint?