{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/67","repository_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch","labels_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/67/comments","events_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/67/events","html_url":"https://github.com/yiisoft/yii2-elasticsearch/pull/67","id":129753879,"number":67,"title":"Log target implementation #43","user":{"login":"trntv","id":1162056,"avatar_url":"https://avatars.githubusercontent.com/u/1162056?v=3","gravatar_id":"","url":"https://api.github.com/users/trntv","html_url":"https://github.com/trntv","followers_url":"https://api.github.com/users/trntv/followers","following_url":"https://api.github.com/users/trntv/following{/other_user}","gists_url":"https://api.github.com/users/trntv/gists{/gist_id}","starred_url":"https://api.github.com/users/trntv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trntv/subscriptions","organizations_url":"https://api.github.com/users/trntv/orgs","repos_url":"https://api.github.com/users/trntv/repos","events_url":"https://api.github.com/users/trntv/events{/privacy}","received_events_url":"https://api.github.com/users/trntv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/labels/enhancement","name":"enhancement","color":"d7e102"}],"state":"open","locked":false,"assignee":{"login":"beowulfenator","id":5413344,"avatar_url":"https://avatars.githubusercontent.com/u/5413344?v=3","gravatar_id":"","url":"https://api.github.com/users/beowulfenator","html_url":"https://github.com/beowulfenator","followers_url":"https://api.github.com/users/beowulfenator/followers","following_url":"https://api.github.com/users/beowulfenator/following{/other_user}","gists_url":"https://api.github.com/users/beowulfenator/gists{/gist_id}","starred_url":"https://api.github.com/users/beowulfenator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beowulfenator/subscriptions","organizations_url":"https://api.github.com/users/beowulfenator/orgs","repos_url":"https://api.github.com/users/beowulfenator/repos","events_url":"https://api.github.com/users/beowulfenator/events{/privacy}","received_events_url":"https://api.github.com/users/beowulfenator/received_events","type":"User","site_admin":false},"assignees":[{"login":"beowulfenator","id":5413344,"avatar_url":"https://avatars.githubusercontent.com/u/5413344?v=3","gravatar_id":"","url":"https://api.github.com/users/beowulfenator","html_url":"https://github.com/beowulfenator","followers_url":"https://api.github.com/users/beowulfenator/followers","following_url":"https://api.github.com/users/beowulfenator/following{/other_user}","gists_url":"https://api.github.com/users/beowulfenator/gists{/gist_id}","starred_url":"https://api.github.com/users/beowulfenator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beowulfenator/subscriptions","organizations_url":"https://api.github.com/users/beowulfenator/orgs","repos_url":"https://api.github.com/users/beowulfenator/repos","events_url":"https://api.github.com/users/beowulfenator/events{/privacy}","received_events_url":"https://api.github.com/users/beowulfenator/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/milestones/4","html_url":"https://github.com/yiisoft/yii2-elasticsearch/milestones/2.0.5","labels_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/milestones/4/labels","id":1112384,"number":4,"title":"2.0.5","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":14,"state":"open","created_at":"2015-05-15T16:01:26Z","updated_at":"2016-09-30T10:33:20Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-01-29T12:35:41Z","updated_at":"2016-10-02T14:44:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/pulls/67","html_url":"https://github.com/yiisoft/yii2-elasticsearch/pull/67","diff_url":"https://github.com/yiisoft/yii2-elasticsearch/pull/67.diff","patch_url":"https://github.com/yiisoft/yii2-elasticsearch/pull/67.patch"},"body":"fixes #43"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/comments/250974781","html_url":"https://github.com/yiisoft/yii2-elasticsearch/pull/67#issuecomment-250974781","issue_url":"https://api.github.com/repos/yiisoft/yii2-elasticsearch/issues/67","id":250974781,"user":{"login":"beowulfenator","id":5413344,"avatar_url":"https://avatars.githubusercontent.com/u/5413344?v=3","gravatar_id":"","url":"https://api.github.com/users/beowulfenator","html_url":"https://github.com/beowulfenator","followers_url":"https://api.github.com/users/beowulfenator/followers","following_url":"https://api.github.com/users/beowulfenator/following{/other_user}","gists_url":"https://api.github.com/users/beowulfenator/gists{/gist_id}","starred_url":"https://api.github.com/users/beowulfenator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beowulfenator/subscriptions","organizations_url":"https://api.github.com/users/beowulfenator/orgs","repos_url":"https://api.github.com/users/beowulfenator/repos","events_url":"https://api.github.com/users/beowulfenator/events{/privacy}","received_events_url":"https://api.github.com/users/beowulfenator/received_events","type":"User","site_admin":false},"created_at":"2016-10-02T14:44:00Z","updated_at":"2016-10-02T14:44:00Z","body":"Better late than never. I've made some enhancements to this log target implementation and I think they are ready to be merged (https://github.com/yiisoft/yii2-elasticsearch/pull/106).\r\n\r\n1. Renamed connection attribute to `db` in line with other log targets.\r\n2. Context logging itself is optional.\r\n3. Context can be optionally appended to every message.\r\n4. Wherever possible, messages are saved as arrays:\r\n    * Context is logged as array\r\n    * Exceptions are parsed into an array with text, file, line and stack trace values\r\n    * If message is of type array, it is stored as such\r\n    * If message is a string, it is stored as string\r\n    * If message is anything else, it is `var_dump`'ed\r\n\r\n@trntv, @cebe, @samdark - anything else you wish to add before I merge [my updated PR](https://github.com/yiisoft/yii2-elasticsearch/pull/106)?"}}
{"actor":{"display_login":"beowulfenator"}}