From 42bcec8bff19d95b0f2253f4a5e7a03796f4d5a9 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 14 Oct 2022 14:14:31 +0200 Subject: [PATCH] Log rule execution --- app/src/main/java/eu/faircode/email/EntityRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/EntityRule.java b/app/src/main/java/eu/faircode/email/EntityRule.java index c2c4ddf1c0..a97520d135 100644 --- a/app/src/main/java/eu/faircode/email/EntityRule.java +++ b/app/src/main/java/eu/faircode/email/EntityRule.java @@ -466,7 +466,7 @@ public class EntityRule { private boolean _execute(Context context, EntityMessage message) throws JSONException, IllegalArgumentException { JSONObject jaction = new JSONObject(action); int type = jaction.getInt("type"); - Log.i("Executing rule=" + type + ":" + name + " message=" + message.id); + EntityLog.log(context, EntityLog.Type.Rules, message, "Executing rule=" + type + ":" + name); switch (type) { case TYPE_NOOP: