getsentry / getsentry/sentry

Option to Disable Structured Logging Either Project Wide or Org Wide within UI

Open
#108,772 4 comments 0 reactions 0 assignees View on GitHub
Feature Product Area: Settings - Developer Settings Waiting for: Product Owner
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

### Problem Statement

Currently it is only possible to disable Structured Logging via the SDK config, see related article here: https://sentry.zendesk.com/hc/en-us/articles/40482848456731-How-do-I-disable-Structured-Logging

Specific related user ask:

They have old iOS app versions are still sending logs in production that they want to prevent log spikes to manage spend costs. While are actively updating the current SDK Logging config (to disabled) the older versions can continue to send logs.

They want to have the ability to maintain their current PAYG budget but are unable to set a limit on Logs to avoid spend cost.

Internal Zendesk reference ticket for additional details here: [#175092](https://sentry.zendesk.com/agent/tickets/175092)

### Solution Brainstorm

Allow for a Project Setting, Org Settings or DSN config that allows for the full enable/disablement of Logging with the UI that does not require SDK side config.

### Product Area

Settings - Developer Settings

Contributor guide

Open the contributing guide

Research direction

The issue identifies Settings - Developer Settings as the product area but names no files, tests, or entry points. Start by tracing the existing Structured Logging SDK configuration and the project and organization settings surfaces. Done should include a UI-controlled way to disable logging for the requested scope and coverage for older SDK versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.