Skip to content

Commit

Permalink
Propagate log level to client (microsoft#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher authored and ZauberNerd committed Dec 23, 2021
1 parent 040b35f commit 381b430
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vs/server/webClientServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,10 @@ export class WebClientServer {
// Add port to prevent client-side mismatch for reverse proxies.
remoteAuthority: `${remoteAuthority.hostname}:${remoteAuthority.port || (remoteAuthority.protocol === 'https:' ? '443' : '80')}`,
_wrapWebWorkerExtHostInIframe,
developmentOptions: { enableSmokeTestDriver: this._environmentService.driverHandle === 'web' ? true : undefined },
developmentOptions: {
enableSmokeTestDriver: this._environmentService.driverHandle === 'web' ? true : undefined,
logLevel: this._logService.getLevel(),
},
settingsSyncOptions: !this._environmentService.isBuilt && this._environmentService.args['enable-sync'] ? { enabled: true } : undefined,
})))
.replace(/{{CLIENT_BACKGROUND_COLOR}}/g, () => backgroundColor)
Expand Down

0 comments on commit 381b430

Please sign in to comment.