4
edits
(Remove more outdated information) |
(→Signaling (SDP offer/answer handling): Add caveat about sandboxing) |
||
Line 17: | Line 17: | ||
This uses the normal Mozilla [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ_LOG] infrastructure, which uses a comma-separated list of modules, each one with its indicated [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ log level]. For WebRTC, you'll be most interested in | This uses the normal Mozilla [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ_LOG] infrastructure, which uses a comma-separated list of modules, each one with its indicated [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ log level]. For WebRTC, you'll be most interested in | ||
* MOZ_LOG=signaling:5,mtransport:5 | * MOZ_LOG=signaling:5,mtransport:5 | ||
* MOZ_LOG_FILE=/path/to/moz.log (if you don't want the default stderr) | * MOZ_LOG_FILE=/path/to/moz.log (if you don't want the default stderr, but be aware that this may not work due to sandboxing) | ||
You can also add ",timestamp" to that list if you want each log message to include timestamps. Other options are available as well, and they are detailed under "Description" on the [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ LOG MODULES] MDN page. | You can also add ",timestamp" to that list if you want each log message to include timestamps. Other options are available as well, and they are detailed under "Description" on the [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ LOG MODULES] MDN page. |
edits