Closed
Bug 848173
Opened 12 years ago
Closed 12 years ago
Further WebRTC logging tweaks
Categories
(Core :: WebRTC: Signaling, defect)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: abr, Assigned: abr)
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
17.44 KB,
patch
|
ehugg
:
review+
|
Details | Diff | Splinter Review |
I've been running with this patch locally to help speed up finding where
log messages have been emitted, and found it quite useful.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 721520 [details] [diff] [review]
Include filenames in WebRTC log messages
Review of attachment 721520 [details] [diff] [review]:
-----------------------------------------------------------------
::: build/automation.py.in
@@ +828,5 @@
>
> # Additional temporary logging while we try to debug some intermittent
> # WebRTC conditions. This is necessary to troubleshoot bugs 841496,
> # 841150, and 839677 (at least)
> + env['NSPR_LOG_MODULES'] = 'signaling:5,mtransport:3'
Note that this isn't increasing the amount of logging we do; the changes in CSFLog below allow for more fine-grained differentiation of log messages, such that what was previously emitted at 3 will now be emitted at 5.
Assignee | ||
Comment 3•12 years ago
|
||
Changing the title, as I'm revising the patch to also turn on select logging to help diagnose Bug 841496.
Summary: Include filenames in WebRTC log messages → Further WebRTC logging tweaks
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #721520 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #722478 -
Flags: review?(ethanhugg)
Comment 5•12 years ago
|
||
Comment on attachment 722478 [details] [diff] [review]
Add filenames, fix module names, and turn on fsm_sm debugging
Review of attachment 722478 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/webrtc/signaling/src/sipcc/include/cc_debug.h
@@ +26,1 @@
> #define PLAT_DEBUG if (PLATDebug) buginf
You're close to excising buginf, buginf_msg, and err_msg with this patch, you may want to change the rest of these.
Attachment #722478 -
Flags: review?(ethanhugg) → review+
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Ethan Hugg [:ehugg] from comment #5)
> You're close to excising buginf, buginf_msg, and err_msg with this patch,
> you may want to change the rest of these.
Well, close, but not close enough:
$ find . -name '*.c' -exec egrep 'buginf|err_msg' '{}' \+ | wc
105 609 9840
I agree this makes that cleanup easier, but it's still a somewhat large-ish task.
Assignee | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•12 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•