{"action":"created","issue":{"url":"https://api.github.com/repos/trbs/bucky/issues/55","repository_url":"https://api.github.com/repos/trbs/bucky","labels_url":"https://api.github.com/repos/trbs/bucky/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/trbs/bucky/issues/55/comments","events_url":"https://api.github.com/repos/trbs/bucky/issues/55/events","html_url":"https://github.com/trbs/bucky/pull/55","id":142727517,"number":55,"title":"Fix logger statements to use string interpolation properly.","user":{"login":"notpeter","id":145113,"avatar_url":"https://avatars.githubusercontent.com/u/145113?v=3","gravatar_id":"","url":"https://api.github.com/users/notpeter","html_url":"https://github.com/notpeter","followers_url":"https://api.github.com/users/notpeter/followers","following_url":"https://api.github.com/users/notpeter/following{/other_user}","gists_url":"https://api.github.com/users/notpeter/gists{/gist_id}","starred_url":"https://api.github.com/users/notpeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notpeter/subscriptions","organizations_url":"https://api.github.com/users/notpeter/orgs","repos_url":"https://api.github.com/users/notpeter/repos","events_url":"https://api.github.com/users/notpeter/events{/privacy}","received_events_url":"https://api.github.com/users/notpeter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-22T17:50:10Z","updated_at":"2016-03-22T17:54:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/trbs/bucky/pulls/55","html_url":"https://github.com/trbs/bucky/pull/55","diff_url":"https://github.com/trbs/bucky/pull/55.diff","patch_url":"https://github.com/trbs/bucky/pull/55.patch"},"body":"Most the logger statements weren't using string interpolation so logging messages were unnecessarily un-pretty.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/145113/13961902/c8526d5c-f01b-11e5-86c2-6597e34f00b4.png)\r\n"},"comment":{"url":"https://api.github.com/repos/trbs/bucky/issues/comments/199936870","html_url":"https://github.com/trbs/bucky/pull/55#issuecomment-199936870","issue_url":"https://api.github.com/repos/trbs/bucky/issues/55","id":199936870,"user":{"login":"dimrozakis","id":5428237,"avatar_url":"https://avatars.githubusercontent.com/u/5428237?v=3","gravatar_id":"","url":"https://api.github.com/users/dimrozakis","html_url":"https://github.com/dimrozakis","followers_url":"https://api.github.com/users/dimrozakis/followers","following_url":"https://api.github.com/users/dimrozakis/following{/other_user}","gists_url":"https://api.github.com/users/dimrozakis/gists{/gist_id}","starred_url":"https://api.github.com/users/dimrozakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimrozakis/subscriptions","organizations_url":"https://api.github.com/users/dimrozakis/orgs","repos_url":"https://api.github.com/users/dimrozakis/repos","events_url":"https://api.github.com/users/dimrozakis/events{/privacy}","received_events_url":"https://api.github.com/users/dimrozakis/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T17:54:35Z","updated_at":"2016-03-22T17:54:35Z","body":"I think that the line in the above traceback is the only one that should be changed. Log statements don't need to use the `%` operator for string formatting. It happens automatically if you pass the strings as extra positional arguments. Doing it like that (with explicitly using `%`) is also more efficient since string formatting will only occur if the configured log level is such that the log entry would actually be printed."}}