SPARK-1729. Update logging in Spark Sink.