[Calendar] prefs to enable logging



Firefox OS
4 years ago
2 months ago


(Reporter: millermedeiros, Unassigned)


Firefox Tracking Flags

(Not tracked)


User Story

we need an option to enable logging on the calendar app without editing the source code.


4 years ago
:tchung asked today if we had any setting stored on "prefs.js" or hidden menu to enable logging on the calendar app so he could submit the `adb logcat`, but right now the only way to enable the logs is to edit the "apps/calendar/js/calendar.js" file and set `DEBUG` to `true`.

that would help the QA team and make our debug process simpler.


4 years ago
User Story: (updated)
Note that gaia already has a shared mechanism for this controlled by a pref from the developer menu of the settings app.  This would interfere with being a privileged app until scoped settings privileges are made possible.  I think there's even a logging helper or something in shared/js/

However, I would suggest only requiring a pref if you're turning on really verbose logging.  There is a class of data the email app always logs to logcat and it's at a sufficiently low rate that there's no meaningful performance hit.  It has been super useful to have this already on and always on.  There is a performance cost however (allegedly a lot of it is the logcat output call per my understanding of a comment by cjones long ago), so some balance should be struck.

Comment 2

2 months ago
Firefox OS is not being worked on
Last Resolved: 2 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.