Use logging.LoggerAdapter instead of "MDC" object to keep job_id in log records
Bug #827350 reported by
Anton Gritsay
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Won't Fix
|
Low
|
Anton Gritsay |
Bug Description
Instead of (not thread-safe) "MDC" object attached to handler class we may use standard way for that use-case: LoggerAdapter: http://
Changed in openquake: | |
assignee: | nobody → Anton Gritsay (angri) |
status: | New → In Progress |
Changed in openquake: | |
importance: | Undecided → Low |
milestone: | none → 0.4.3 |
Changed in openquake: | |
milestone: | 0.4.3 → 0.4.4 |
Changed in openquake: | |
milestone: | 0.4.4 → 0.4.5 |
To post a comment you must log in.
Please see also https:/ /bugs.launchpad .net/openquake/ +bug/827349