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);