{"action":"created","issue":{"url":"https://api.github.com/repos/basho/lager/issues/264","labels_url":"https://api.github.com/repos/basho/lager/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/basho/lager/issues/264/comments","events_url":"https://api.github.com/repos/basho/lager/issues/264/events","html_url":"https://github.com/basho/lager/pull/264","id":76071299,"number":264,"title":"Support multiple sinks in lager","user":{"login":"mrallen1","id":204728,"avatar_url":"https://avatars.githubusercontent.com/u/204728?v=3","gravatar_id":"","url":"https://api.github.com/users/mrallen1","html_url":"https://github.com/mrallen1","followers_url":"https://api.github.com/users/mrallen1/followers","following_url":"https://api.github.com/users/mrallen1/following{/other_user}","gists_url":"https://api.github.com/users/mrallen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mrallen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrallen1/subscriptions","organizations_url":"https://api.github.com/users/mrallen1/orgs","repos_url":"https://api.github.com/users/mrallen1/repos","events_url":"https://api.github.com/users/mrallen1/events{/privacy}","received_events_url":"https://api.github.com/users/mrallen1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/basho/lager/labels/3.0","name":"3.0","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-13T18:02:37Z","updated_at":"2015-06-01T19:02:48Z","closed_at":"2015-06-01T19:02:48Z","pull_request":{"url":"https://api.github.com/repos/basho/lager/pulls/264","html_url":"https://github.com/basho/lager/pull/264","diff_url":"https://github.com/basho/lager/pull/264.diff","patch_url":"https://github.com/basho/lager/pull/264.patch"},"body":"This is a feature which lays the ground work for an application to use and have multiple event sinks for use in lager.  This is useful in the scenario where a customer (for instance) wants to **always** log security or access events for audit purposes and is willing to pay the latency costs and assume the overload risks associated with that.\r\n\r\nTo support this feature, many portions of lager have been modified to accept a Sink argument, including the parse transform which dispatches log messages into gen_event. At the same time, this change should be totally backwards compatible.\r\n\r\nBenchmarking runs show that lager's performance is not substantially different with or without multiple sinks enabled, so with this feature enabled, performance is no worse than pre-multiple-sink lager's performance.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/basho/lager/issues/comments/107672339","html_url":"https://github.com/basho/lager/pull/264#issuecomment-107672339","issue_url":"https://api.github.com/repos/basho/lager/issues/264","id":107672339,"user":{"login":"mrallen1","id":204728,"avatar_url":"https://avatars.githubusercontent.com/u/204728?v=3","gravatar_id":"","url":"https://api.github.com/users/mrallen1","html_url":"https://github.com/mrallen1","followers_url":"https://api.github.com/users/mrallen1/followers","following_url":"https://api.github.com/users/mrallen1/following{/other_user}","gists_url":"https://api.github.com/users/mrallen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mrallen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrallen1/subscriptions","organizations_url":"https://api.github.com/users/mrallen1/orgs","repos_url":"https://api.github.com/users/mrallen1/repos","events_url":"https://api.github.com/users/mrallen1/events{/privacy}","received_events_url":"https://api.github.com/users/mrallen1/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T19:02:48Z","updated_at":"2015-06-01T19:02:48Z","body":"Closing in favor of #270 "}}