How to detect if MongoDb is currently recovering/verifying

I have an application which automatically launches MongoDb (on start). If the mongo instance does not respond to a ping for X minutes, we kill the process and re-launch.

I’ve noticed that larger mongo databases can take quite a while to start up if they did not shut down cleanly. Is there a way to detect if mongo is currently validating/recovering as part of startup?

My assumption is I could look in the log output - but it’s not clear what in the log indicates an integrity check/recovery is underway.

Any tips on what to look for?