Opened 13 years ago
Closed 13 years ago
#17358 closed Cleanup/optimization (fixed)
Switch to arg-style logging instead of string interpolation
Reported by: | Steve Pulec | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.3 |
Severity: | Normal | Keywords: | logging |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Change all logging from this
logger.warning("This is a %s" % var)
to
logger.warning("This is a %s", var)
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | update_logging_style_patch.diff added |
---|
comment:1 by , 13 years ago
Component: | Uncategorized → Core (Other) |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 13 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17480]: