{"action":"created","issue":{"url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/issues/1","repository_url":"https://api.github.com/repos/chingor13/simple_kafka_consumer","labels_url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/issues/1/comments","events_url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/issues/1/events","html_url":"https://github.com/chingor13/simple_kafka_consumer/pull/1","id":171215565,"number":1,"title":"logging improvements","user":{"login":"gaorlov","id":612074,"avatar_url":"https://avatars.githubusercontent.com/u/612074?v=3","gravatar_id":"","url":"https://api.github.com/users/gaorlov","html_url":"https://github.com/gaorlov","followers_url":"https://api.github.com/users/gaorlov/followers","following_url":"https://api.github.com/users/gaorlov/following{/other_user}","gists_url":"https://api.github.com/users/gaorlov/gists{/gist_id}","starred_url":"https://api.github.com/users/gaorlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaorlov/subscriptions","organizations_url":"https://api.github.com/users/gaorlov/orgs","repos_url":"https://api.github.com/users/gaorlov/repos","events_url":"https://api.github.com/users/gaorlov/events{/privacy}","received_events_url":"https://api.github.com/users/gaorlov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-15T17:12:36Z","updated_at":"2016-08-15T22:04:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/pulls/1","html_url":"https://github.com/chingor13/simple_kafka_consumer/pull/1","diff_url":"https://github.com/chingor13/simple_kafka_consumer/pull/1.diff","patch_url":"https://github.com/chingor13/simple_kafka_consumer/pull/1.patch"},"body":"* adding tagging to logging to include the consumer class\r\n* making zookeeper excptions log as 'error' rather than 'info'"},"comment":{"url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/issues/comments/239943664","html_url":"https://github.com/chingor13/simple_kafka_consumer/pull/1#issuecomment-239943664","issue_url":"https://api.github.com/repos/chingor13/simple_kafka_consumer/issues/1","id":239943664,"user":{"login":"gaorlov","id":612074,"avatar_url":"https://avatars.githubusercontent.com/u/612074?v=3","gravatar_id":"","url":"https://api.github.com/users/gaorlov","html_url":"https://github.com/gaorlov","followers_url":"https://api.github.com/users/gaorlov/followers","following_url":"https://api.github.com/users/gaorlov/following{/other_user}","gists_url":"https://api.github.com/users/gaorlov/gists{/gist_id}","starred_url":"https://api.github.com/users/gaorlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaorlov/subscriptions","organizations_url":"https://api.github.com/users/gaorlov/orgs","repos_url":"https://api.github.com/users/gaorlov/repos","events_url":"https://api.github.com/users/gaorlov/events{/privacy}","received_events_url":"https://api.github.com/users/gaorlov/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T22:04:31Z","updated_at":"2016-08-15T22:04:31Z","body":"do you mean like\r\n```ruby\r\ndef initialize(*args)\r\n  @logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT)).tagged( self.class.to_s )\r\nend\r\n```\r\n\r\nbecause you can't do that : (\r\n\r\n```\r\n2.3.1 :001 > logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))\r\n => #<Logger:0x000000017d0a40 > \r\n2.3.1 :002 > a = logger.tagged( \"lol\" )\r\nLocalJumpError: no block given (yield)\r\n```"}}
{"actor":{"display_login":"gaorlov"}}