Fix #42624 - add _ between extension ID and sequence number in log folder name

This commit is contained in:
Rob Lourens
2018-01-31 09:37:59 -08:00
parent 2570a1c7da
commit 93681eb439

View File

@@ -43,7 +43,7 @@ export class ExtHostLogService extends DelegatedLogService implements ILogServic
}
private createLogger(extensionID: string): ExtHostLogger {
const logsDirPath = join(this._environmentService.logsPath, `${extensionID}${this._windowId}`);
const logsDirPath = join(this._environmentService.logsPath, `${extensionID}_${this._windowId}`);
const logService = createSpdLogService(extensionID, this.getLevel(), logsDirPath);
this._register(this.onDidChangeLogLevel(level => logService.setLevel(level)));
return new ExtHostLogger(logService, logsDirPath);