{"action":"created","issue":{"url":"https://api.github.com/repos/globaleaks/GlobaLeaks/issues/1578","repository_url":"https://api.github.com/repos/globaleaks/GlobaLeaks","labels_url":"https://api.github.com/repos/globaleaks/GlobaLeaks/issues/1578/labels{/name}","comments_url":"https://api.github.com/repos/globaleaks/GlobaLeaks/issues/1578/comments","events_url":"https://api.github.com/repos/globaleaks/GlobaLeaks/issues/1578/events","html_url":"https://github.com/globaleaks/GlobaLeaks/issues/1578","id":140184605,"number":1578,"title":"globaleaks.log file keep only recent logs","user":{"login":"evilaliv3","id":217034,"avatar_url":"https://avatars.githubusercontent.com/u/217034?v=3","gravatar_id":"","url":"https://api.github.com/users/evilaliv3","html_url":"https://github.com/evilaliv3","followers_url":"https://api.github.com/users/evilaliv3/followers","following_url":"https://api.github.com/users/evilaliv3/following{/other_user}","gists_url":"https://api.github.com/users/evilaliv3/gists{/gist_id}","starred_url":"https://api.github.com/users/evilaliv3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilaliv3/subscriptions","organizations_url":"https://api.github.com/users/evilaliv3/orgs","repos_url":"https://api.github.com/users/evilaliv3/repos","events_url":"https://api.github.com/users/evilaliv3/events{/privacy}","received_events_url":"https://api.github.com/users/evilaliv3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/globaleaks/GlobaLeaks/labels/C:%20Backend","name":"C: Backend","color":"eb6420"},{"url":"https://api.github.com/repos/globaleaks/GlobaLeaks/labels/T:%20Enhancement","name":"T: Enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/globaleaks/GlobaLeaks/milestones/35","html_url":"https://github.com/globaleaks/GlobaLeaks/milestones/March%202016","labels_url":"https://api.github.com/repos/globaleaks/GlobaLeaks/milestones/35/labels","id":1639153,"number":35,"title":"March 2016","description":"","creator":{"login":"evilaliv3","id":217034,"avatar_url":"https://avatars.githubusercontent.com/u/217034?v=3","gravatar_id":"","url":"https://api.github.com/users/evilaliv3","html_url":"https://github.com/evilaliv3","followers_url":"https://api.github.com/users/evilaliv3/followers","following_url":"https://api.github.com/users/evilaliv3/following{/other_user}","gists_url":"https://api.github.com/users/evilaliv3/gists{/gist_id}","starred_url":"https://api.github.com/users/evilaliv3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilaliv3/subscriptions","organizations_url":"https://api.github.com/users/evilaliv3/orgs","repos_url":"https://api.github.com/users/evilaliv3/repos","events_url":"https://api.github.com/users/evilaliv3/events{/privacy}","received_events_url":"https://api.github.com/users/evilaliv3/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-03-11T15:57:27Z","updated_at":"2016-03-11T16:00:34Z","due_on":"2016-03-30T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-03-11T13:37:01Z","updated_at":"2016-03-11T16:10:20Z","closed_at":null,"body":"For debug reasons globaleaks keeps a globaleaks.log file that logs debug information with respect of the DEBUGLEVEL set in /etc/default/globaleaks\r\n\r\nWhat is missing is a good configuration for the log rotation that would keep only the last X days in order to limit exposure of logs and also too not be prone to DoS attacks possibly filling up the disk space.\r\n\r\nThis ticket has a twin on Tor2web: https://github.com/globaleaks/Tor2web/issues/292"},"comment":{"url":"https://api.github.com/repos/globaleaks/GlobaLeaks/issues/comments/195430742","html_url":"https://github.com/globaleaks/GlobaLeaks/issues/1578#issuecomment-195430742","issue_url":"https://api.github.com/repos/globaleaks/GlobaLeaks/issues/1578","id":195430742,"user":{"login":"evilaliv3","id":217034,"avatar_url":"https://avatars.githubusercontent.com/u/217034?v=3","gravatar_id":"","url":"https://api.github.com/users/evilaliv3","html_url":"https://github.com/evilaliv3","followers_url":"https://api.github.com/users/evilaliv3/followers","following_url":"https://api.github.com/users/evilaliv3/following{/other_user}","gists_url":"https://api.github.com/users/evilaliv3/gists{/gist_id}","starred_url":"https://api.github.com/users/evilaliv3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilaliv3/subscriptions","organizations_url":"https://api.github.com/users/evilaliv3/orgs","repos_url":"https://api.github.com/users/evilaliv3/repos","events_url":"https://api.github.com/users/evilaliv3/events{/privacy}","received_events_url":"https://api.github.com/users/evilaliv3/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T16:10:20Z","updated_at":"2016-03-11T16:10:20Z","body":"Rethinking of what done in Tor2web/GlobaLeaks i think the best solution is not to keep 7 days as i was suggesting, but to keep a rotation of files of 1MB allowing the user to set how many megabytes and setting currently 10MB as default value.\r\n\r\nThe size limit is infact more important that the day limit."}}