Skip to content

Commit 6b93bf3

Browse files
committed
add service to the log
1 parent c9cfe74 commit 6b93bf3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/vs/platform/userDataSync/common/userDataSyncStoreService.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export class UserDataSyncStoreManagementService extends AbstractUserDataSyncStor
8989
@IProductService productService: IProductService,
9090
@IConfigurationService configurationService: IConfigurationService,
9191
@IStorageService storageService: IStorageService,
92+
@IUserDataSyncLogService logService: IUserDataSyncLogService,
9293
) {
9394
super(productService, configurationService, storageService);
9495

@@ -103,6 +104,10 @@ export class UserDataSyncStoreManagementService extends AbstractUserDataSyncStor
103104
} else {
104105
this.storageService.remove(SYNC_PREVIOUS_STORE, StorageScope.GLOBAL);
105106
}
107+
108+
if (this.userDataSyncStore) {
109+
logService.info('Using settings sync service', this.userDataSyncStore.url.toString());
110+
}
106111
}
107112

108113
async switch(type: UserDataSyncStoreType): Promise<void> {

0 commit comments

Comments
 (0)