{"action":"opened","issue":{"url":"https://api.github.com/repos/melezhik/logdog/issues/1","repository_url":"https://api.github.com/repos/melezhik/logdog","labels_url":"https://api.github.com/repos/melezhik/logdog/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/melezhik/logdog/issues/1/comments","events_url":"https://api.github.com/repos/melezhik/logdog/issues/1/events","html_url":"https://github.com/melezhik/logdog/issues/1","id":147815362,"number":1,"title":"Reader does not handle logrotate managed files","user":{"login":"MidLifeXis","id":54983,"avatar_url":"https://avatars.githubusercontent.com/u/54983?v=3","gravatar_id":"","url":"https://api.github.com/users/MidLifeXis","html_url":"https://github.com/MidLifeXis","followers_url":"https://api.github.com/users/MidLifeXis/followers","following_url":"https://api.github.com/users/MidLifeXis/following{/other_user}","gists_url":"https://api.github.com/users/MidLifeXis/gists{/gist_id}","starred_url":"https://api.github.com/users/MidLifeXis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MidLifeXis/subscriptions","organizations_url":"https://api.github.com/users/MidLifeXis/orgs","repos_url":"https://api.github.com/users/MidLifeXis/repos","events_url":"https://api.github.com/users/MidLifeXis/events{/privacy}","received_events_url":"https://api.github.com/users/MidLifeXis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T17:07:48Z","updated_at":"2016-04-12T17:07:48Z","closed_at":null,"body":"Possibly a read-error on my part, but logrotate-style log files do not appear to be handled properly by this plugin.  The potential exists for a chunk of data to be missed if a logrotate event happens.\r\n\r\nScenario:\r\n\r\nPeriod T between checks.  At T-1 second after the previous check, a logrotate event happens.  The current check only reads the last 1 seconds of data in the current log file.\r\n"}}