From 0ce5b7624f3acc0f210edadba478fc3d87d2fb7e Mon Sep 17 00:00:00 2001 From: Nicolas Gelot Date: Thu, 14 Oct 2021 12:44:03 +0200 Subject: [PATCH] Remove backtrace log It disturbs the debug to have a java backtrace in the middle of the log output while the error is handled by the service. This patch reports the current log from upstream project which removes the print of the bt. Ref: #3937 --- src/main/java/foundation/e/cert4android/CustomCertService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/foundation/e/cert4android/CustomCertService.kt b/src/main/java/foundation/e/cert4android/CustomCertService.kt index 064cf24..cec3b7d 100644 --- a/src/main/java/foundation/e/cert4android/CustomCertService.kt +++ b/src/main/java/foundation/e/cert4android/CustomCertService.kt @@ -88,7 +88,7 @@ class CustomCertService: Service() { try { FileInputStream(keyStoreFile).use { trustedKeyStore.load(it, null) } } catch(e: Exception) { - Constants.log.log(Level.INFO, "No persistent key store (yet), creating in-memory key store. This is not an error!", e) + Constants.log.log(Level.INFO, "No key store for trusted certifcates (yet); creating in-memory key store.") try { trustedKeyStore.load(null, null) } catch(e: Exception) { -- GitLab