Changed MongoDB settings #6
Removed logging, as logger was not defined #6