{"action":"created","issue":{"url":"https://api.github.com/repos/jonathanperret/logger_lager_backend/issues/1","repository_url":"https://api.github.com/repos/jonathanperret/logger_lager_backend","labels_url":"https://api.github.com/repos/jonathanperret/logger_lager_backend/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jonathanperret/logger_lager_backend/issues/1/comments","events_url":"https://api.github.com/repos/jonathanperret/logger_lager_backend/issues/1/events","html_url":"https://github.com/jonathanperret/logger_lager_backend/issues/1","id":148657601,"number":1,"title":"Not all messages formatted properly","user":{"login":"sumerman","id":222471,"avatar_url":"https://avatars.githubusercontent.com/u/222471?v=3","gravatar_id":"","url":"https://api.github.com/users/sumerman","html_url":"https://github.com/sumerman","followers_url":"https://api.github.com/users/sumerman/followers","following_url":"https://api.github.com/users/sumerman/following{/other_user}","gists_url":"https://api.github.com/users/sumerman/gists{/gist_id}","starred_url":"https://api.github.com/users/sumerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumerman/subscriptions","organizations_url":"https://api.github.com/users/sumerman/orgs","repos_url":"https://api.github.com/users/sumerman/repos","events_url":"https://api.github.com/users/sumerman/events{/privacy}","received_events_url":"https://api.github.com/users/sumerman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T13:12:11Z","updated_at":"2016-04-15T13:52:09Z","closed_at":null,"body":"Keep getting this in my logs:\r\n\r\n`FORMAT ERROR: \"~s\" [[<<\"GenServer :redis_sub_0_8 terminating\">>,<<\"\\n** (stop) \">>|<<\":redis_down\">>]`\r\n\r\nI guess you either have to change `~s` to `~p`, or (probably better) apply `iolist_to_binary` to the `message`"},"comment":{"url":"https://api.github.com/repos/jonathanperret/logger_lager_backend/issues/comments/210471539","html_url":"https://github.com/jonathanperret/logger_lager_backend/issues/1#issuecomment-210471539","issue_url":"https://api.github.com/repos/jonathanperret/logger_lager_backend/issues/1","id":210471539,"user":{"login":"jonathanperret","id":300823,"avatar_url":"https://avatars.githubusercontent.com/u/300823?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanperret","html_url":"https://github.com/jonathanperret","followers_url":"https://api.github.com/users/jonathanperret/followers","following_url":"https://api.github.com/users/jonathanperret/following{/other_user}","gists_url":"https://api.github.com/users/jonathanperret/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanperret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanperret/subscriptions","organizations_url":"https://api.github.com/users/jonathanperret/orgs","repos_url":"https://api.github.com/users/jonathanperret/repos","events_url":"https://api.github.com/users/jonathanperret/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanperret/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T13:52:09Z","updated_at":"2016-04-15T13:52:09Z","body":"Hi @sumerman, I got that too at first. At first I thought I would have to apply `iolist_to_binary` (or the Elixir wrapper, `IO.iodata_to_binary`), but that would be introducing another inefficiency into something that is already not very efficient. `~p` would not do because it would quote everything.\r\n\r\nTurns out it's actually a recently fixed problem in `lager`: https://github.com/basho/lager/issues/326 so on my projects I just upgraded `lager` to the latest (3.2.0 includes the fix).\r\n\r\nDo you think this would still be worth a mention in the `README` ?"}}