Re: Logging events in Necko
Jason Duell <[email protected]> Mon, 15 Oct 2012 10:33:55 -0700
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
On 10/12/2012 05:36 PM, Valentin Gosu wrote: > Hi, > > I just filed bug 801209: Logging events in Necko > > The idea is that Chrome has a pretty good and detailed way of logging > networking events. > It can be accessed from chrome://net-internals > > The current logging system in firefox is completely functional, > however, it does not have the same flexibility. One needs to set > certain environment variables in order to enable it. > > Any thoughts? Our setup also is less than ideal with multiple processes: see https://bugzilla.mozilla.org/show_bug.cgi?id=638375 https://bugzilla.mozilla.org/show_bug.cgi?id=534764 |* * https://developer.mozilla.org/en-US/docs/HTTP_Logging#Creating_separate_logs_for_child_processes_(electrolysis-only)* *If you want to grab bug |638375 and combine that with some way to display log output in the network dashboard, that would be great. A couple thoughts: 1) So does Chrome always have logging on, and it just stores the output in case the user wants to see it (seems like a lot of overhead), or does it only turn on once net-internals is opened? 2) For multi-process logging, it would best if there's a choice to view either combined/interleaved logs, or to view the log for a given process only. We might as well pick this conversation up in bug 638375, so let's move the conversation there (unless someone has some broadly different approach they want to bring up) cheers, Jason