Logging messages from quai platform to MongoDB