{"action":"created","issue":{"url":"https://api.github.com/repos/logentries/le_node/issues/72","labels_url":"https://api.github.com/repos/logentries/le_node/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/logentries/le_node/issues/72/comments","events_url":"https://api.github.com/repos/logentries/le_node/issues/72/events","html_url":"https://github.com/logentries/le_node/issues/72","id":102467600,"number":72,"title":"Logentries Heroku add-on doesn't seem to log everything","user":{"login":"annanhan","id":10620173,"avatar_url":"https://avatars.githubusercontent.com/u/10620173?v=3","gravatar_id":"","url":"https://api.github.com/users/annanhan","html_url":"https://github.com/annanhan","followers_url":"https://api.github.com/users/annanhan/followers","following_url":"https://api.github.com/users/annanhan/following{/other_user}","gists_url":"https://api.github.com/users/annanhan/gists{/gist_id}","starred_url":"https://api.github.com/users/annanhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annanhan/subscriptions","organizations_url":"https://api.github.com/users/annanhan/orgs","repos_url":"https://api.github.com/users/annanhan/repos","events_url":"https://api.github.com/users/annanhan/events{/privacy}","received_events_url":"https://api.github.com/users/annanhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-21T21:44:19Z","updated_at":"2015-08-21T23:43:24Z","closed_at":null,"body":"I have a node app and I'm using Logentries as a Winston transport. I am sending these logs to the Heroku add-on using the manual token TCP setup. I have noticed that some of the logs are not logged in the add-on. I can see the logs printed to the console and Papertrail. I ran through the debugger, and I can see the transport log line getting called. I've tried increasing the buffer size, but that doesn't seem to help. \r\n\r\nI added some debugging logs to see if it was a log level issue, but I don't think it is. The last three lines (\"DONE WRITING\", \"returning refreshed data\", and \"this isn not going to print\") are consistently not getting logged in Logentries.\r\n\r\nI've tried playing with the time window and the live tail, but it still doesn't appear.\r\n\r\nAttached are a couple of screenshots.\r\n\r\n![921fda06bdc647bfd02a2d7eec034dbf](https://cloud.githubusercontent.com/assets/10620173/9419690/d82ea454-482b-11e5-80b5-f18bd424c5a6.png)\r\n\r\n![235281ccad48423d1af66eab1d916c5b](https://cloud.githubusercontent.com/assets/10620173/9419688/d55b4840-482b-11e5-9d1f-250c83f8228d.png)\r\n\r\nAny input would be appreciated.\r\n\r\nThanks,\r\nAnna"},"comment":{"url":"https://api.github.com/repos/logentries/le_node/issues/comments/133591502","html_url":"https://github.com/logentries/le_node/issues/72#issuecomment-133591502","issue_url":"https://api.github.com/repos/logentries/le_node/issues/72","id":133591502,"user":{"login":"bathos","id":6257356,"avatar_url":"https://avatars.githubusercontent.com/u/6257356?v=3","gravatar_id":"","url":"https://api.github.com/users/bathos","html_url":"https://github.com/bathos","followers_url":"https://api.github.com/users/bathos/followers","following_url":"https://api.github.com/users/bathos/following{/other_user}","gists_url":"https://api.github.com/users/bathos/gists{/gist_id}","starred_url":"https://api.github.com/users/bathos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bathos/subscriptions","organizations_url":"https://api.github.com/users/bathos/orgs","repos_url":"https://api.github.com/users/bathos/repos","events_url":"https://api.github.com/users/bathos/events{/privacy}","received_events_url":"https://api.github.com/users/bathos/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T23:43:24Z","updated_at":"2015-08-21T23:43:24Z","body":"Hey Anna. Is it always those last three lines? If so, it would help to see the code where the log events are created and any possibly relevant context. My instinct initially was that it might be an issue with the application exiting before the write buffer had a chance to clear, but if it's getting to Papertrail, that's probably not it."}}