mirror of https://github.com/M66B/FairEmail.git
Improved logging
This commit is contained in:
parent
6807c7d08e
commit
9f68b1fa9d
|
@ -690,7 +690,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
|
||||
int backoff = CONNECT_BACKOFF_START;
|
||||
while (state.running) {
|
||||
EntityLog.log(this, account.name + " run");
|
||||
Log.i(Helper.TAG, account.name + " run");
|
||||
|
||||
// Debug
|
||||
boolean debug = PreferenceManager.getDefaultSharedPreferences(this).getBoolean("debug", false);
|
||||
|
@ -797,7 +797,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
});
|
||||
|
||||
// Initiate connection
|
||||
Log.i(Helper.TAG, account.name + " connect");
|
||||
EntityLog.log(this, account.name + " connecting");
|
||||
for (EntityFolder folder : db.folder().getFolders(account.id))
|
||||
db.folder().setFolderState(folder.id, null);
|
||||
db.account().setAccountState(account.id, "connecting");
|
||||
|
|
Loading…
Reference in New Issue