mongo logging set up.