{"action":"created","issue":{"url":"https://api.github.com/repos/Eurospider/strusWebService/issues/83","repository_url":"https://api.github.com/repos/Eurospider/strusWebService","labels_url":"https://api.github.com/repos/Eurospider/strusWebService/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Eurospider/strusWebService/issues/83/comments","events_url":"https://api.github.com/repos/Eurospider/strusWebService/issues/83/events","html_url":"https://github.com/Eurospider/strusWebService/issues/83","id":189614500,"number":83,"title":"Logrotation","user":{"login":"andreasbaumann","id":202930,"avatar_url":"https://avatars.githubusercontent.com/u/202930?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasbaumann","html_url":"https://github.com/andreasbaumann","followers_url":"https://api.github.com/users/andreasbaumann/followers","following_url":"https://api.github.com/users/andreasbaumann/following{/other_user}","gists_url":"https://api.github.com/users/andreasbaumann/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasbaumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasbaumann/subscriptions","organizations_url":"https://api.github.com/users/andreasbaumann/orgs","repos_url":"https://api.github.com/users/andreasbaumann/repos","events_url":"https://api.github.com/users/andreasbaumann/events{/privacy}","received_events_url":"https://api.github.com/users/andreasbaumann/received_events","type":"User","site_admin":false},"labels":[{"id":288253960,"url":"https://api.github.com/repos/Eurospider/strusWebService/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"andreasbaumann","id":202930,"avatar_url":"https://avatars.githubusercontent.com/u/202930?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasbaumann","html_url":"https://github.com/andreasbaumann","followers_url":"https://api.github.com/users/andreasbaumann/followers","following_url":"https://api.github.com/users/andreasbaumann/following{/other_user}","gists_url":"https://api.github.com/users/andreasbaumann/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasbaumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasbaumann/subscriptions","organizations_url":"https://api.github.com/users/andreasbaumann/orgs","repos_url":"https://api.github.com/users/andreasbaumann/repos","events_url":"https://api.github.com/users/andreasbaumann/events{/privacy}","received_events_url":"https://api.github.com/users/andreasbaumann/received_events","type":"User","site_admin":false},"assignees":[{"login":"andreasbaumann","id":202930,"avatar_url":"https://avatars.githubusercontent.com/u/202930?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasbaumann","html_url":"https://github.com/andreasbaumann","followers_url":"https://api.github.com/users/andreasbaumann/followers","following_url":"https://api.github.com/users/andreasbaumann/following{/other_user}","gists_url":"https://api.github.com/users/andreasbaumann/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasbaumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasbaumann/subscriptions","organizations_url":"https://api.github.com/users/andreasbaumann/orgs","repos_url":"https://api.github.com/users/andreasbaumann/repos","events_url":"https://api.github.com/users/andreasbaumann/events{/privacy}","received_events_url":"https://api.github.com/users/andreasbaumann/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Eurospider/strusWebService/milestones/3","html_url":"https://github.com/Eurospider/strusWebService/milestone/3","labels_url":"https://api.github.com/repos/Eurospider/strusWebService/milestones/3/labels","id":1869239,"number":3,"title":"0.0.5","description":"","creator":{"login":"andreasbaumann","id":202930,"avatar_url":"https://avatars.githubusercontent.com/u/202930?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasbaumann","html_url":"https://github.com/andreasbaumann","followers_url":"https://api.github.com/users/andreasbaumann/followers","following_url":"https://api.github.com/users/andreasbaumann/following{/other_user}","gists_url":"https://api.github.com/users/andreasbaumann/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasbaumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasbaumann/subscriptions","organizations_url":"https://api.github.com/users/andreasbaumann/orgs","repos_url":"https://api.github.com/users/andreasbaumann/repos","events_url":"https://api.github.com/users/andreasbaumann/events{/privacy}","received_events_url":"https://api.github.com/users/andreasbaumann/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":22,"state":"open","created_at":"2016-07-07T06:08:32Z","updated_at":"2016-12-13T14:55:21Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-11-16T07:20:36Z","updated_at":"2016-12-13T14:55:21Z","closed_at":"2016-12-13T14:55:21Z","body":"```\r\nlogging.file.max_files\r\n\r\nEnables files rotation. Each time the log file is opened the older file is renamed to file_name.1 and this file renamed to file_name.2. This value specifies the maximal number of files that are saved.\r\n```\r\n\r\nSo maybe we can do this with SIGHUP \"sent\" from inside the strusWebService forcing the logfiles to\r\nrotate periodically."},"comment":{"url":"https://api.github.com/repos/Eurospider/strusWebService/issues/comments/266759170","html_url":"https://github.com/Eurospider/strusWebService/issues/83#issuecomment-266759170","issue_url":"https://api.github.com/repos/Eurospider/strusWebService/issues/83","id":266759170,"user":{"login":"andreasbaumann","id":202930,"avatar_url":"https://avatars.githubusercontent.com/u/202930?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasbaumann","html_url":"https://github.com/andreasbaumann","followers_url":"https://api.github.com/users/andreasbaumann/followers","following_url":"https://api.github.com/users/andreasbaumann/following{/other_user}","gists_url":"https://api.github.com/users/andreasbaumann/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasbaumann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasbaumann/subscriptions","organizations_url":"https://api.github.com/users/andreasbaumann/orgs","repos_url":"https://api.github.com/users/andreasbaumann/repos","events_url":"https://api.github.com/users/andreasbaumann/events{/privacy}","received_events_url":"https://api.github.com/users/andreasbaumann/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T14:55:21Z","updated_at":"2016-12-13T14:55:21Z","body":"Works:\r\n\r\n```\r\n        \"logging\" : {\r\n                \"level\" : \"info\",\r\n                \"file\" : {\r\n                        \"name\" : \"/var/log/strusWebService/strusWebService.log\",\r\n                        \"append\" : true,\r\n                        \"max_files\" : 4\r\n                }\r\n        },\r\n```\r\n\r\nlogrotate doens't seem to be the right choice here, a cronjob sending SIGHUP is\r\nmore appropriate.\r\n\r\nFixed."}}
{"actor":{"display_login":"andreasbaumann"}}