Reduced logging

This commit is contained in:
M66B 2020-07-06 12:29:20 +02:00
parent 072e68f36a
commit 427d60b298
2 changed files with 3 additions and 3 deletions

View File

@ -3073,11 +3073,11 @@ class Core {
for (String key : sid.keySet()) for (String key : sid.keySet())
sb.append(" ").append(key).append("=").append(sid.get(key)); sb.append(" ").append(key).append("=").append(sid.get(key));
if (!account.partial_fetch) if (!account.partial_fetch)
Log.e("Empty message" + sb.toString()); Log.w("Empty message" + sb.toString());
} }
} else { } else {
if (!account.partial_fetch) if (!account.partial_fetch)
Log.e("Empty message " + account.host); Log.w("Empty message " + account.host);
} }
} catch (Throwable ex) { } catch (Throwable ex) {
Log.w(ex); Log.w(ex);

View File

@ -1409,7 +1409,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
account.keep_alive_ok = true; account.keep_alive_ok = true;
db.account().setAccountKeepAliveOk(account.id, true); db.account().setAccountKeepAliveOk(account.id, true);
if (!BuildConfig.PLAY_STORE_RELEASE) if (!BuildConfig.PLAY_STORE_RELEASE)
Log.e(account.host + " set keep-alive=" + account.poll_interval); Log.w(account.host + " set keep-alive=" + account.poll_interval);
EntityLog.log(ServiceSynchronize.this, account.name + " keep alive ok"); EntityLog.log(ServiceSynchronize.this, account.name + " keep alive ok");
} else } else
EntityLog.log(ServiceSynchronize.this, account.name + " keep alive" + EntityLog.log(ServiceSynchronize.this, account.name + " keep alive" +