fix up mongo logging