Skip to content

Logging: Add feature flag to disable feature

Why are we doing this work

In 15.0, we start removing the code for Category:Logging. Before deleting code, we should introduce a feature flag to hide the feature. The guarantees we can effectively disable Logging in %15.0 and allows flexibility to complete the cleanup.

Tracking issue for all logging removal work: Monitor:Logging Deprecation (#346485 - closed)

Relevant links

Implementation plan

  1. Globally enable a flag called monitor_logging on dot-com (before the flag exists)
  2. Add a feature flag in %15.0, called monitor_logging which is disabled by default.
    • The documentation should be updated to reflect our plans for removal explicitly, including timeline.
  3. For flag rollout, selectively disable the flag for test projects/staging/etc to verify the feature removal/disablement. Globally disable the flag or delete any actor overrides to disable the feature for everyone.
  4. Begin code deletions in %15.2 [out of scope of this issue]
    • This gives self-managed users a milestone to quickly regroup if they ended up surprised by the removal, and allows us time to delete the code as we have availability.

Verification

These areas of the app should be unavailable:

Logs UI & left nav Logs via metrics Logs via envs Logs Enablement UI
Screen_Shot_2022-04-21_at_11.54.45_AM Screen_Shot_2022-04-21_at_11.56.35_AM Screen_Shot_2022-04-21_at_11.54.34_AM Screen_Shot_2022-04-21_at_11.53.59_AM
Edited by Sarah Yasonik