From 0db0712b93cc5e897dca9f16360642e59a4b9fce Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Thu, 16 Oct 2025 18:39:27 +0200 Subject: [PATCH] chore: Remove telemetry debug logging (no-changelog) (#20875) --- packages/cli/src/posthog/index.ts | 5 ----- packages/frontend/editor-ui/src/plugins/telemetry/index.ts | 6 ------ 2 files changed, 11 deletions(-) diff --git a/packages/cli/src/posthog/index.ts b/packages/cli/src/posthog/index.ts index 00e027f56ad..7c4558c38d2 100644 --- a/packages/cli/src/posthog/index.ts +++ b/packages/cli/src/posthog/index.ts @@ -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 { diff --git a/packages/frontend/editor-ui/src/plugins/telemetry/index.ts b/packages/frontend/editor-ui/src/plugins/telemetry/index.ts index 31d38ae157d..e7ee70acfd3 100644 --- a/packages/frontend/editor-ui/src/plugins/telemetry/index.ts +++ b/packages/frontend/editor-ui/src/plugins/telemetry/index.ts @@ -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);