Fixes to mongoLogger