Extended debug info

This commit is contained in:
M66B
2023-07-07 10:53:37 +02:00
parent 379bb34723
commit ea500bbaa9
2 changed files with 13 additions and 1 deletions

View File

@@ -2810,6 +2810,14 @@ public class Log {
long from = new Date().getTime() - 24 * 3600 * 1000L;
DateFormat TF = Helper.getTimeInstance(context);
for (EntityLog entry : db.log().getLogs(from, null))
if (entry.data != null && entry.data.contains("backoff="))
size += write(os, String.format("%s %s\r\n",
TF.format(entry.time),
entry.data));
size += write(os, "\r\n");
for (EntityLog entry : db.log().getLogs(from, null)) {
size += write(os, String.format("%s [%d:%d:%d:%d:%d] %s\r\n",
TF.format(entry.time),