{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/417","labels_url":"https://api.github.com/repos/progrium/dokku/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/417/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/417/events","html_url":"https://github.com/progrium/dokku/issues/417","id":25708551,"number":417,"title":"Dokku Logs Rotation","user":{"login":"fotisp","id":210779,"avatar_url":"https://avatars.githubusercontent.com/u/210779?v=3","gravatar_id":"","url":"https://api.github.com/users/fotisp","html_url":"https://github.com/fotisp","followers_url":"https://api.github.com/users/fotisp/followers","following_url":"https://api.github.com/users/fotisp/following{/other_user}","gists_url":"https://api.github.com/users/fotisp/gists{/gist_id}","starred_url":"https://api.github.com/users/fotisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fotisp/subscriptions","organizations_url":"https://api.github.com/users/fotisp/orgs","repos_url":"https://api.github.com/users/fotisp/repos","events_url":"https://api.github.com/users/fotisp/events{/privacy}","received_events_url":"https://api.github.com/users/fotisp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/progrium/dokku/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/progrium/dokku/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-01-16T08:01:18Z","updated_at":"2015-01-22T23:33:57Z","closed_at":null,"body":"Hello,\r\n\r\nI have dokku running on Digital Ocean, and one of my apps is log intensive. What is happening is that the logs are growing up to the HD limit.\r\n\r\nOne possible solution would be to use logrotate but the log filename is some sort of hash which I assume is created upon the initial deploy, so logrotate would need to be manually configured for every app deployed, which sort of kills the \"Your own personal heroku\" moto.\r\n\r\n\r\nIs there any way to tell dokku to rotate or limit the size of log for an app?\r\n"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/71121568","html_url":"https://github.com/progrium/dokku/issues/417#issuecomment-71121568","issue_url":"https://api.github.com/repos/progrium/dokku/issues/417","id":71121568,"user":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T23:33:57Z","updated_at":"2015-01-22T23:33:57Z","body":"@josegonzalez not sure what sort of enhancement you were thinking here as the logs are stored in docker internals. I don't think there is even a way to wipe the docker logs of a running container currently?"}}