Closed Bug 841641 Opened 11 years ago Closed 11 years ago

make it easier to generate production builds with WebRTC signaling logging turned on

Categories

(Core :: WebRTC: Signaling, defect, P2)

Other Branch
x86
All
defect

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: dmosedale, Assigned: ehugg)

References

Details

(Whiteboard: [WebRTC], [blocking-webrtc+], [qa-])

Attachments

(2 files, 2 obsolete files)

This patch is currently against the alder branch to help us debug performance issues. It's potentially also worth turning on all the time so that we can ask nightly or even release users, devs, customers, etc to generate and send us logs when problems arise. 

It'll need a bit of tweaking before it lands, for sure.
abr or ehugg would be fine
Assignee: nobody → ethanhugg
Priority: -- → P2
Whiteboard: [WebRTC], [blocking-webrtc+]
Comment on attachment 714213 [details] [diff] [review]
WIP force on logging for the signalling code

Review of attachment 714213 [details] [diff] [review]:
-----------------------------------------------------------------

I will post an updated patch and try build soon.

::: media/webrtc/signaling/src/media-conduit/MediaConduitInterface.h
@@ +4,5 @@
>  
>  #ifndef MEDIA_CONDUIT_ABSTRACTION_
>  #define MEDIA_CONDUIT_ABSTRACTION_
>  
> +#define FORCE_PR_LOG

I think I'm going to change this to an include of CSFLog.h so that FORCE_PR_LOG is in one place
Sounds reasonable to me.  It may also be worth uncommenting the MOZ_LOGGING ifdefs in CSFLog.h, which would make the code identical from the ImgLib stuff I cloned that from. I'm not sure what the consequences of that are, and I needed something which logged quickly, which is why I left those commented out for now.
Attachment #714213 - Attachment is obsolete: true
Comment on attachment 714623 [details] [diff] [review]
Ensure CSFLog.h comes before includes of prlog.h


If this try and some testing go well, then I'll put it up for review

https://tbpl.mozilla.org/?tree=Try&rev=f323ca9be746
Blocks: 841566
Attachment #714623 - Attachment is obsolete: true
Comment on attachment 714687 [details] [diff] [review]
Ensure CSFLog.h comes before includes of prlog.h


OK, apparently there is no such thing as PR_LOG_INFO, trying again.

https://tbpl.mozilla.org/?tree=Try&rev=5effc5e0fa90
Attachment #714687 - Flags: review?(adam)
Blocks: 841148
Attachment #714687 - Flags: review?(adam) → review+
Running a try to check build for all targets:

https://tbpl.mozilla.org/?tree=Try&rev=4c5a925ec528
Same patch, but rebased against alder for landing there.
Attachment #716356 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/4fcce10347ab
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Whiteboard: [WebRTC], [blocking-webrtc+] → [WebRTC], [blocking-webrtc+], [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: