chore: Remove telemetry debug logging (no-changelog) (#20875)

This commit is contained in:
Mutasem Aldmour
2025-10-16 18:39:27 +02:00
committed by GitHub
parent 3d9d19ef81
commit 0db0712b93
2 changed files with 0 additions and 11 deletions
-5
View File
@@ -24,11 +24,6 @@ export class PostHogClient {
this.postHog = new PostHog(posthogConfig.apiKey, {
host: posthogConfig.apiHost,
});
const logLevel = this.globalConfig.logging.level;
if (logLevel === 'debug') {
this.postHog.debug(true);
}
}
async stop(): Promise<void> {
@@ -51,18 +51,12 @@ export class Telemetry {
config: { key, proxy, sourceConfig },
} = telemetrySettings;
const settingsStore = useSettingsStore();
const rootStore = useRootStore();
const logLevel = settingsStore.logLevel;
const logging = logLevel === 'debug' ? { logLevel: 'DEBUG' } : {};
this.initRudderStack(key, proxy, {
integrations: { All: false },
loadIntegration: false,
configUrl: sourceConfig,
...logging,
});
this.identify(instanceId, userId, versionCli, projectId);