Enabled logging into MongoDB