Re: Logging events in Necko
Brian Smith <[email protected]> Mon, 15 Oct 2012 12:20:54 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
Jason Duell wrote: > 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 Regarding multi-process NSPR logging, don't we just need to send the log output of child processes to a pipe that is consumed by the parent process, and then have the parent process PR_LOG() what it received with some information tacked on (child process ID)? NSPR_LOG_FILE should NOT work for child processes anyway, because child processes aren't allowed to do disk I/O. Cheers, Brian