added logging to MongoInstance