{"action":"opened","issue":{"url":"https://api.github.com/repos/Rcomian/bunyan-rotating-file-stream/issues/7","repository_url":"https://api.github.com/repos/Rcomian/bunyan-rotating-file-stream","labels_url":"https://api.github.com/repos/Rcomian/bunyan-rotating-file-stream/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/Rcomian/bunyan-rotating-file-stream/issues/7/comments","events_url":"https://api.github.com/repos/Rcomian/bunyan-rotating-file-stream/issues/7/events","html_url":"https://github.com/Rcomian/bunyan-rotating-file-stream/issues/7","id":163508471,"number":7,"title":"calling function when a log file with new name is craeted","user":{"login":"Rafi993","id":8092120,"avatar_url":"https://avatars.githubusercontent.com/u/8092120?v=3","gravatar_id":"","url":"https://api.github.com/users/Rafi993","html_url":"https://github.com/Rafi993","followers_url":"https://api.github.com/users/Rafi993/followers","following_url":"https://api.github.com/users/Rafi993/following{/other_user}","gists_url":"https://api.github.com/users/Rafi993/gists{/gist_id}","starred_url":"https://api.github.com/users/Rafi993/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rafi993/subscriptions","organizations_url":"https://api.github.com/users/Rafi993/orgs","repos_url":"https://api.github.com/users/Rafi993/repos","events_url":"https://api.github.com/users/Rafi993/events{/privacy}","received_events_url":"https://api.github.com/users/Rafi993/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-02T08:25:26Z","updated_at":"2016-07-02T08:25:26Z","closed_at":null,"body":"How to I call a function automatically when a mew file is created for logging i.e if the existing log file reaches limit and new one is created"}}
{"actor":{"display_login":"Rafi993"}}