add additional logging for mongo db