mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Improved debug info
This commit is contained in:
parent
c57375a58f
commit
0fbf31e7c4
1 changed files with 4 additions and 4 deletions
|
@ -1802,7 +1802,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
}
|
}
|
||||||
|
|
||||||
final EntityFolder folder = found;
|
final EntityFolder folder = found;
|
||||||
Log.i(folder.name + " queuing operations=" + added.size() +
|
Log.i(account.name + "/" + folder.name + " queuing operations=" + added.size() +
|
||||||
" init=" + folder.initialize + " poll=" + folder.poll);
|
" init=" + folder.initialize + " poll=" + folder.poll);
|
||||||
|
|
||||||
// Partition operations by priority
|
// Partition operations by priority
|
||||||
|
@ -1840,7 +1840,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
int ops;
|
int ops;
|
||||||
synchronized (partitions) {
|
synchronized (partitions) {
|
||||||
ops = partitions.get(key).size();
|
ops = partitions.get(key).size();
|
||||||
Log.i(folder.name +
|
Log.i(account.name + "/" + folder.name +
|
||||||
" queuing partition=" + key +
|
" queuing partition=" + key +
|
||||||
" operations=" + ops);
|
" operations=" + ops);
|
||||||
}
|
}
|
||||||
|
@ -1868,7 +1868,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
partitions.remove(key);
|
partitions.remove(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.i(folder.name +
|
Log.i(account.name + "/" + folder.name +
|
||||||
" executing partition=" + key +
|
" executing partition=" + key +
|
||||||
" serial=" + serial +
|
" serial=" + serial +
|
||||||
" operations=" + partition.size());
|
" operations=" + partition.size());
|
||||||
|
@ -1888,7 +1888,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
final boolean shouldClose = (ifolder == null && canOpen);
|
final boolean shouldClose = (ifolder == null && canOpen);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Log.i(folder.name + " run " + (shouldClose ? "offline" : "online"));
|
Log.i(account.name + "/" + folder.name + " run " + (shouldClose ? "offline" : "online"));
|
||||||
|
|
||||||
if (shouldClose) {
|
if (shouldClose) {
|
||||||
// Prevent unnecessary folder connections
|
// Prevent unnecessary folder connections
|
||||||
|
|
Loading…
Reference in a new issue