trying to fix mongo logging issues