Open Bug 2064178 Opened 20 days ago Updated 20 days ago

Make about:logging sessions persist across restarts

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

People

(Reporter: jonalmeida, Unassigned)

References

(Blocks 1 open bug)

Details

On Android, app restarts are common place, so 'Steps To Reproduce' often require an app restart during a logging session. This however breaks about:logging sessions that were started in the previous session.

Example bug: https://bugzilla.mozilla.org/show_bug.cgi?id=2061841#c2

There is a pref available that "should" allow logging after a restart:
https://searchfox.org/firefox-main/rev/6fd3453f587cfcd74637bad0b7b67f3d4680e679/modules/libpref/init/StaticPrefList.yaml#12028-12034

# If this pref is true, prefs in the logging.config branch will be cleared on
# startup. This prevents unadvertedly creating huge log files that fill the disk
# when forgetting to remove the logging preferences.
- name: logging.config.clear_on_startup
  type: bool
  value: true
  mirror: never

It's been years since I used it, so I'm not sure if it still works.

You need to log in before you can comment on or make changes to this bug.