mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Extended debug info
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user