Closed Bug 1194175 Opened 9 years ago Closed 9 years ago

[LockScreen] Turn off LockScreen state manager logger

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gweng, Assigned: gweng)

References

Details

(Keywords: regression)

Attachments

(1 file)

It looks now the logger is on, so performance is affected. I now turn it off and we should think about how to control it by build flags
Assignee: nobody → gweng
Depends on: 1189641
Keywords: regression
Comment on attachment 8647508 [details] [gaia] snowmantw:bug1194175-rev2 > mozilla-b2g:master Fix: 1. If build it with DEVICE_DEBUG=1 or REMOTE_DEBUGGER=1, the logger will be enabled. 2. After the logger is enabled, it can be turned off by setting the remote debugger as 'disabled' in developer menu. 3. But if build without such flag, this means user doesn't want to turn it on. So to turn the remote debugging setting flag on later will not turn the logger on. 4. I combine this feature with DEVICE_DEBUG=1 since I don't know whether to add a new one (it's already too much I think) flag only for turn on such specific logging function is proper or not. If it's better, I can modify the patch.
Attachment #8647508 - Flags: review?(timdream)
Comment on attachment 8647508 [details] [gaia] snowmantw:bug1194175-rev2 > mozilla-b2g:master I don't think we should do this. 1. I don't feel a strong need on being able to turn on/off without using Web Console -- developer can always turn it on/off manually by diving into the scope. 2. Toggle logging shouldn't be related to turning on-off remote debugger. Maybe reuse the gaia DUMP flag in mozSettings? I don't really feel strongly at (1) so if you have your use cases let's just finishing up (2) and get this landed.
Attachment #8647508 - Flags: review?(timdream)
Comment on attachment 8647508 [details] [gaia] snowmantw:bug1194175-rev2 > mozilla-b2g:master Updated as the above comment. Test result is green: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=8aea7b9ce6a621fd6b6eaa28f4eae9ad0d8d00dd And I tried it on my device manually: to turn on and off the logger with |debug.gaia.enabled| works well. So I set review again.
Attachment #8647508 - Flags: review?(timdream)
Attachment #8647508 - Flags: review?(timdream) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: