Closed Bug 941742 Opened 11 years ago Closed 11 years ago

Add current process ID to all the things!

Categories

(Core :: XPCOM, defect)

x86
macOS
defect
Not set
normal

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)
Ted, is there a good component for this bug?
Not really, depends on what's doing the logging. "The log" is a nebulous concept, I think you probably mean "stdout/stderr".
(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.
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?
Yeah if that's what you want then this is a dupe. Sorry I misunderstood you.
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.