cleaning up console logs, saving every alert sent out to mongo