Improved logging

This commit is contained in:
M66B 2020-07-16 16:03:54 +02:00
parent 9a1c5ca083
commit 16d62dcaae
1 changed files with 10 additions and 1 deletions

View File

@ -228,7 +228,16 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
int index = accountStates.indexOf(current);
if (index < 0) {
if (current.canRun()) {
EntityLog.log(ServiceSynchronize.this, "### new " + current);
EntityLog.log(ServiceSynchronize.this, "### new " + current +
" start=" + current.canRun() +
" sync=" + current.accountState.isEnabled(current.enabled) +
" enabled=" + current.accountState.synchronize +
" ondemand=" + current.accountState.ondemand +
" folders=" + current.accountState.folders +
" ops=" + current.accountState.operations +
" tbd=" + current.accountState.tbd +
" state=" + current.accountState.state +
" type=" + current.networkState.getType());
start(current, current.accountState.isEnabled(current.enabled), false);
}
} else {