Merge pull request #5312 from vector-im/erikj/log_since_token

Log `since` token when doing an incremental sync
This commit is contained in:
Benoit Marty 2022-02-23 12:02:15 +01:00 committed by GitHub
commit 3707b4e2ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/5312.misc Normal file
View File

@ -0,0 +1 @@
Log the `since` token used when doing an incremental sync.

View File

@ -147,7 +147,7 @@ internal class DefaultSyncTask @Inject constructor(
}
defaultSyncStatusService.endAll()
} else {
Timber.tag(loggerTag.value).d("Start incremental sync request")
Timber.tag(loggerTag.value).d("Start incremental sync request with since token $token")
defaultSyncStatusService.setStatus(SyncStatusService.Status.IncrementalSyncIdle)
val syncResponse = try {
executeRequest(globalErrorReceiver) {