Skip to content

Commit 8e010de

Browse files
committed
RUM-7855 Remove telemetry target from error logging in PlainBatchFileReaderWriter
1 parent 9515e48 commit 8e010de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dd-sdk-android-core/src/main/kotlin/com/datadog/android/core/internal/persistence/file/batch/PlainBatchFileReaderWriter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ internal class PlainBatchFileReaderWriter(
4040
} catch (e: IOException) {
4141
internalLogger.log(
4242
InternalLogger.Level.ERROR,
43-
listOf(InternalLogger.Target.MAINTAINER, InternalLogger.Target.TELEMETRY),
43+
listOf(InternalLogger.Target.MAINTAINER),
4444
{ ERROR_WRITE.format(Locale.US, file.path) },
4545
e
4646
)

dd-sdk-android-core/src/test/kotlin/com/datadog/android/core/internal/persistence/file/batch/PlainBatchFileReaderWriterTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ internal class PlainBatchFileReaderWriterTest {
177177
assertThat(file).doesNotExist()
178178
mockInternalLogger.verifyLog(
179179
InternalLogger.Level.ERROR,
180-
listOf(InternalLogger.Target.MAINTAINER, InternalLogger.Target.TELEMETRY),
180+
listOf(InternalLogger.Target.MAINTAINER),
181181
PlainBatchFileReaderWriter.ERROR_WRITE.format(Locale.US, file.path),
182182
FileNotFoundException::class.java
183183
)
@@ -204,7 +204,7 @@ internal class PlainBatchFileReaderWriterTest {
204204
assertThat(result).isFalse()
205205
mockInternalLogger.verifyLog(
206206
InternalLogger.Level.ERROR,
207-
listOf(InternalLogger.Target.MAINTAINER, InternalLogger.Target.TELEMETRY),
207+
listOf(InternalLogger.Target.MAINTAINER),
208208
PlainBatchFileReaderWriter.ERROR_WRITE.format(Locale.US, file.path),
209209
FileNotFoundException::class.java
210210
)

0 commit comments

Comments
 (0)