From dbec2629aedcc4536d4a8a4ceced507cc8a7a8c1 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Fri, 10 Mar 2023 07:54:52 +0200 Subject: [PATCH] More logging --- app/src/main/kotlin/com/tutpro/baresip/CallHistory.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/kotlin/com/tutpro/baresip/CallHistory.kt b/app/src/main/kotlin/com/tutpro/baresip/CallHistory.kt index 7b44516c..22039fe2 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/CallHistory.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/CallHistory.kt @@ -56,6 +56,10 @@ class CallHistory(val aor: String, val peerUri: String, val direction: String) : Log.e(TAG, "OutputStream exception: $e") e.printStackTrace() } + if (file.exists()) + Log.d(TAG, "******** file ${BaresipService.filesPath}/history exists") + else + Log.d(TAG, "******** file ${BaresipService.filesPath}/history does NOT exist") } fun restore() {