From 9c09b3c5269123ab57ccec7a07bf80bc32242208 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 2 Dec 2021 09:49:31 +0100 Subject: [PATCH] better logs --- .../plugins/constraints/storage/StorageConstraintPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt index cb78c7882e..d1e9ddd5d4 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt @@ -42,7 +42,7 @@ class StorageConstraintPlugin @Inject constructor( override fun isClosedLoopAllowed(value: Constraint): Constraint { val diskFree = availableInternalMemorySize() if (diskFree < Constants.MINIMUM_FREE_SPACE) { - aapsLogger.debug(LTag.CONSTRAINTS, "Internal storage free (Mb):$diskFree") + aapsLogger.debug(LTag.CONSTRAINTS, "Closed loop disabled. Internal storage free (Mb):$diskFree") value.set(aapsLogger, false, rh.gs(R.string.diskfull, Constants.MINIMUM_FREE_SPACE), this) val notification = Notification(Notification.DISK_FULL, rh.gs(R.string.diskfull, Constants.MINIMUM_FREE_SPACE), Notification.NORMAL) rxBus.send(EventNewNotification(notification))