Closed
Bug 941742
Opened 11 years ago
Closed 11 years ago
Add current process ID to all the things!
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 881389
People
(Reporter: jorendorff, Unassigned)
Details
It would be pretty rad if every line of the log had a pid and thread id on it. I hear concurrency is the future.
(from bug 941739)
Comment 1•11 years ago
|
||
Ted, is there a good component for this bug?
Comment 2•11 years ago
|
||
Not really, depends on what's doing the logging. "The log" is a nebulous concept, I think you probably mean "stdout/stderr".
Comment 3•11 years ago
|
||
(In reply to comment #2)
> Not really, depends on what's doing the logging. "The log" is a nebulous
> concept, I think you probably mean "stdout/stderr".
I *think* Jason is talking about our test runners.
Reporter | ||
Comment 4•11 years ago
|
||
I don't think the test runners can fix this.
I think this bug amounts to
- making a logging function that you can use from anywhere that adds the process and thread ids to every line it spits out
- crawling through the whole codebase replacing printf calls with this new thing
Seems possible?
Comment 6•11 years ago
|
||
Yeah if that's what you want then this is a dupe. Sorry I misunderstood you.
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•