Closed
Bug 743703
Opened 13 years ago
Closed 11 years ago
Log WebRTC debugs to NSPR logs
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: jesup, Assigned: jesup)
References
Details
(Whiteboard: [WebRTC], [blocking-webrtc-])
Attachments
(2 files, 4 obsolete files)
11.28 KB,
patch
|
ehugg
:
feedback+
|
Details | Diff | Splinter Review |
10.90 KB,
patch
|
pkerr
:
review+
|
Details | Diff | Splinter Review |
We'd like to log all debugs from WebRTC to mozilla's logging infrastructure.
Assignee | ||
Comment 1•13 years ago
|
||
appears to work, still WIP. setenv NSPR_LOG_FILE /tmp/foo; setenv NSPR_LOG_MODULES webrtc:5
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #613787 -
Attachment is obsolete: true
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #614152 -
Attachment is obsolete: true
Assignee | ||
Comment 4•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #614251 -
Attachment is obsolete: true
Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 614274 [details] [diff] [review]
patch to mirror logs from webrtc logging to NSPR logging (but not TRACE logs)
This patch works on both alder trunk and on paris_demo branches
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 614274 [details] [diff] [review]
patch to mirror logs from webrtc logging to NSPR logging (but not TRACE logs)
I expect further work on logging, but this is a primary step towards unifying logging.
Attachment #614274 -
Flags: feedback?(ethanhugg)
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → rjesup
Comment 7•13 years ago
|
||
Comment on attachment 614274 [details] [diff] [review]
patch to mirror logs from webrtc logging to NSPR logging (but not TRACE logs)
I assume we should follow this pattern with the signaling logs (CSFLog.cpp).
Attachment #614274 -
Flags: feedback?(ethanhugg) → feedback+
Updated•13 years ago
|
QA Contact: jsmith
Updated•13 years ago
|
Whiteboard: [WebRTC], [blocking-webrtc-]
Assignee | ||
Comment 8•13 years ago
|
||
This was for the libjingle logging.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Comment 9•11 years ago
|
||
Turns out the lazy allocation setting got inverted somewhere, so we were wasting 4MB of memory as well
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8428396 [details] [diff] [review]
allow mirroring of trace logs to NSPR; fix backwards lazy allocation defines
Allows mirrors of webrtc.org trace logs to NSPR logging. NOTE: this can have a negative performance impact (especially if going to stderr), even though it's off the realtime threads, because of the possible volume of logging and NSPR logs per-line.
Set WEBRTC_TRACE_FILE to 'nspr' and it will mirror them. It might be better to default WEBRTC_TRACE_FILE to 'nspr' instead of WebRTC.log...
Attachment #8428396 -
Flags: review?(pkerr)
Assignee | ||
Comment 11•11 years ago
|
||
this time with the right set of changes
Assignee | ||
Updated•11 years ago
|
Attachment #8428396 -
Attachment is obsolete: true
Attachment #8428396 -
Flags: review?(pkerr)
Assignee | ||
Updated•11 years ago
|
Attachment #8428402 -
Flags: review?(pkerr)
Updated•11 years ago
|
Attachment #8428402 -
Flags: review?(pkerr) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Target Milestone: --- → mozilla32
Comment 13•11 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•