Kabam plugin to log errors in mongo database