storage - remove logStorage option (for #62152)

This commit is contained in:
Benjamin Pasero 2018-10-30 18:55:23 +01:00
parent 1d760ea4b4
commit 169993fb30
5 changed files with 2 additions and 6 deletions

View file

@ -35,7 +35,6 @@ export interface ParsedArgs {
'trace-options'?: string;
log?: string;
logExtensionHostCommunication?: boolean;
logStorage?: boolean;
'extensions-dir'?: string;
'builtin-extensions-dir'?: string;
extensionDevelopmentPath?: string;
@ -121,7 +120,6 @@ export interface IEnvironmentService {
debugSearch: IDebugParams;
logExtensionHostCommunication: boolean;
logStorage: boolean;
isBuilt: boolean;
wait: boolean;

View file

@ -54,7 +54,6 @@ const options: minimist.Opts = {
'prof-startup',
'verbose',
'logExtensionHostCommunication',
'logStorage',
'disable-extensions',
'list-extensions',
'show-versions',

View file

@ -211,7 +211,6 @@ export class EnvironmentService implements IEnvironmentService {
get wait(): boolean { return this._args.wait; }
get logExtensionHostCommunication(): boolean { return this._args.logExtensionHostCommunication; }
get logStorage(): boolean { return this._args.logStorage; }
get performance(): boolean { return this._args.performance; }
get status(): boolean { return this._args.status; }

View file

@ -69,7 +69,7 @@ export class StorageService extends Disposable implements IStorageService {
super();
this.loggingOptions = {
info: environmentService.verbose || environmentService.logStorage,
info: environmentService.verbose,
infoLogger: msg => logService.info(msg),
errorLogger: error => {
logService.error(error);

View file

@ -354,7 +354,7 @@ export class WorkbenchShell extends Disposable {
return; // do not log performance numbers when errors occured
}
if (this.environmentService.verbose || this.environmentService.logStorage) {
if (this.environmentService.verbose) {
return; // do not log when running in verbose mode
}