Update logging to send to mongo