perf: Loglines are prepared regardless of log level
Bug #1232327 reported by
Kurt Griffiths
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
Low
|
Zhihao Yuan |
Bug Description
Log messages are typically formatted regardless of whether they will actually be written out, depending on the effective log level
It would be nice if we could make the formatting conditional, perhaps by extending the logger so it accepts two parameters : the template and the params to substitute into that template.
Changed in marconi: | |
status: | New → Triaged |
Changed in marconi: | |
assignee: | nobody → Zhihao Yuan (zyuan) |
Changed in marconi: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in marconi: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
There's some work going on i18n and lazy translation / formatting, IIRC. I think that should help with most of the cases. For all the other cases, I think this is a great idea.
Also, this sounds like something we could send to oslo-incubator.