{"action":"closed","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1415","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1415/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1415/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1415/events","html_url":"https://github.com/Unitech/PM2/issues/1415","id":93042325,"number":1415,"title":"Logrotate integration","user":{"login":"scaryguy","id":2168598,"avatar_url":"https://avatars.githubusercontent.com/u/2168598?v=3","gravatar_id":"","url":"https://api.github.com/users/scaryguy","html_url":"https://github.com/scaryguy","followers_url":"https://api.github.com/users/scaryguy/followers","following_url":"https://api.github.com/users/scaryguy/following{/other_user}","gists_url":"https://api.github.com/users/scaryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/scaryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scaryguy/subscriptions","organizations_url":"https://api.github.com/users/scaryguy/orgs","repos_url":"https://api.github.com/users/scaryguy/repos","events_url":"https://api.github.com/users/scaryguy/events{/privacy}","received_events_url":"https://api.github.com/users/scaryguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Unitech/PM2/labels/Feature","name":"Feature","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"soyuka","id":1321971,"avatar_url":"https://avatars.githubusercontent.com/u/1321971?v=3","gravatar_id":"","url":"https://api.github.com/users/soyuka","html_url":"https://github.com/soyuka","followers_url":"https://api.github.com/users/soyuka/followers","following_url":"https://api.github.com/users/soyuka/following{/other_user}","gists_url":"https://api.github.com/users/soyuka/gists{/gist_id}","starred_url":"https://api.github.com/users/soyuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyuka/subscriptions","organizations_url":"https://api.github.com/users/soyuka/orgs","repos_url":"https://api.github.com/users/soyuka/repos","events_url":"https://api.github.com/users/soyuka/events{/privacy}","received_events_url":"https://api.github.com/users/soyuka/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-07-04T19:55:35Z","updated_at":"2015-08-03T10:51:04Z","closed_at":"2015-08-03T10:51:04Z","body":"Hi there,\r\n\r\nRecently I've experienced an edge case with PM2 log files. My server's storage was full because of my application's PM2 log file -which was 25GB in size :fearful: As a result, the application stopped working. I think this is something serious that should be considered when setting up default behavior with collecting log files.\r\n\r\nI guess integration with logrotate can be an option. Just like nginx. As you probably know, nginx -by default- uses logrotate to compress and remove old log files. IMHO PM2 should have something similar which would prevent edge cases like I experienced. \r\n\r\nThanks!"}}