Closed Bug 1186888 Opened 9 years ago Closed 9 years ago

[mozlog] Ability to use a pre-existing logger with commandline.setup_logging

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In bug 1027665 mach has a "logging_manager" that can manage multiple loggers at a time (I'm not entirely sure if multiple loggers is still desired with mozlog..). At any rate, it instantiates a logger before the commandline is processed. I'd like to use commandline.setup_logging, but pass in the pre-existing logger rather than have mozlog create a new one.
Bug 1186888 - [mozlog] Ability to use a pre-existing logger with commandline.setup_logging(), r?jgraham
Attachment #8637888 - Flags: review?(james)
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Comment on attachment 8637888 [details]
MozReview Request: Bug 1186888 - [mozlog] Ability to use a pre-existing logger with commandline.setup_logging(), r?jgraham

https://reviewboard.mozilla.org/r/14005/#review12517

Ship It!
Attachment #8637888 - Flags: review?(james) → review+
https://hg.mozilla.org/mozilla-central/rev/a1c815bdae5b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: