Updated log entries.
Updated sampleMetric for DataSubmission.