Added classifier logging

This commit is contained in:
M66B 2022-04-29 13:09:21 +02:00
parent 9dc1154e66
commit 4bcab037f6
1 changed files with 4 additions and 2 deletions

View File

@ -88,9 +88,11 @@ public class MessageClassifier {
long elapsed = new Date().getTime() - start;
EntityLog.log(context, EntityLog.Type.Classification, message,
"Classifier" +
" folder=" + folder.name +
" folder=" + folder.account + ":" + folder.name + ":" + folder.type +
" added=" + added +
" message=" + message.id +
" message=" + message.id + "/" + !TextUtils.isEmpty(message.msgid) +
" keyword=" + message.hasKeyword(MessageHelper.FLAG_CLASSIFIED) +
" filtered=" + message.hasKeyword(MessageHelper.FLAG_FILTERED) +
"@" + new Date(message.received) +
":" + message.subject +
" class=" + classified +