Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #171757 #172032

Merged
merged 2 commits into from
Jan 23, 2023
Merged

Fix #171757 #172032

merged 2 commits into from
Jan 23, 2023

Conversation

sandy081
Copy link
Member

Fix #171757

@sandy081 sandy081 self-assigned this Jan 23, 2023
@sandy081 sandy081 enabled auto-merge (squash) January 23, 2023 17:39
@VSCodeTriageBot VSCodeTriageBot added this to the January 2023 milestone Jan 23, 2023
hediet
hediet previously approved these changes Jan 23, 2023
this._outputLogger.info('Below are logs for extension telemetry events sent to the telemetry output channel API once the log level is set to trace.');
this._outputLogger.info('===========================================================');
}

private updateLoggerVisibility(): void {
this.loggerService.setVisibility(this.extHostTelemetryLogFile, this._level !== TelemetryLevel.NONE && this.loggerService.getLogLevel() === LogLevel.Trace);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We would want to show the log even when telemetry level is none because we want to show the users that nothing is flowing. We'd want to use the same supportsTelemetry function as before as that's checking for --disable-telemetry and things of that nature.

Copy link
Member

@lramos15 lramos15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up! I'll make another PR to address some telemetry specific pieces

@lramos15 lramos15 merged commit 1278cb5 into main Jan 23, 2023
@lramos15 lramos15 deleted the sandy081/surrounding-haddock branch January 23, 2023 18:50
TylerLeonhardt pushed a commit that referenced this pull request Jan 23, 2023
* Fix #171757

* complete fix
@github-actions github-actions bot locked and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output Panel issues with Telemetry and Extension Telemetry channels
4 participants