updating log write in production settings