{"action":"created","issue":{"url":"https://api.github.com/repos/bitshares/bitshares-core/issues/809","repository_url":"https://api.github.com/repos/bitshares/bitshares-core","labels_url":"https://api.github.com/repos/bitshares/bitshares-core/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/bitshares/bitshares-core/issues/809/comments","events_url":"https://api.github.com/repos/bitshares/bitshares-core/issues/809/events","html_url":"https://github.com/bitshares/bitshares-core/issues/809","id":310936196,"node_id":"MDU6SXNzdWUzMTA5MzYxOTY=","number":809,"title":"Log file of current hour gets overwritten by default","user":{"login":"abitmore","id":9946777,"node_id":"MDQ6VXNlcjk5NDY3Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/9946777?v=4","gravatar_id":"","url":"https://api.github.com/users/abitmore","html_url":"https://github.com/abitmore","followers_url":"https://api.github.com/users/abitmore/followers","following_url":"https://api.github.com/users/abitmore/following{/other_user}","gists_url":"https://api.github.com/users/abitmore/gists{/gist_id}","starred_url":"https://api.github.com/users/abitmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitmore/subscriptions","organizations_url":"https://api.github.com/users/abitmore/orgs","repos_url":"https://api.github.com/users/abitmore/repos","events_url":"https://api.github.com/users/abitmore/events{/privacy}","received_events_url":"https://api.github.com/users/abitmore/received_events","type":"User","site_admin":false},"labels":[{"id":892679259,"node_id":"MDU6TGFiZWw4OTI2NzkyNTk=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/1b%20User%20Story","name":"1b User Story","color":"0052cc","default":false},{"id":892687304,"node_id":"MDU6TGFiZWw4OTI2ODczMDQ=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/2d%20Developing","name":"2d Developing","color":"0e8a16","default":false},{"id":892711059,"node_id":"MDU6TGFiZWw4OTI3MTEwNTk=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/3d%20Bug","name":"3d Bug","color":"b60205","default":false},{"id":942570930,"node_id":"MDU6TGFiZWw5NDI1NzA5MzA=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/6%20UX","name":"6 UX","color":"5319e7","default":false},{"id":738589125,"node_id":"MDU6TGFiZWw3Mzg1ODkxMjU=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":828961291,"node_id":"MDU6TGFiZWw4Mjg5NjEyOTE=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/good%20first%20issue","name":"good first issue","color":"18f243","default":true},{"id":944384377,"node_id":"MDU6TGFiZWw5NDQzODQzNzc=","url":"https://api.github.com/repos/bitshares/bitshares-core/labels/logging","name":"logging","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"ryanRfox","id":13419165,"node_id":"MDQ6VXNlcjEzNDE5MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/13419165?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanRfox","html_url":"https://github.com/ryanRfox","followers_url":"https://api.github.com/users/ryanRfox/followers","following_url":"https://api.github.com/users/ryanRfox/following{/other_user}","gists_url":"https://api.github.com/users/ryanRfox/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanRfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanRfox/subscriptions","organizations_url":"https://api.github.com/users/ryanRfox/orgs","repos_url":"https://api.github.com/users/ryanRfox/repos","events_url":"https://api.github.com/users/ryanRfox/events{/privacy}","received_events_url":"https://api.github.com/users/ryanRfox/received_events","type":"User","site_admin":false},"assignees":[{"login":"ryanRfox","id":13419165,"node_id":"MDQ6VXNlcjEzNDE5MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/13419165?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanRfox","html_url":"https://github.com/ryanRfox","followers_url":"https://api.github.com/users/ryanRfox/followers","following_url":"https://api.github.com/users/ryanRfox/following{/other_user}","gists_url":"https://api.github.com/users/ryanRfox/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanRfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanRfox/subscriptions","organizations_url":"https://api.github.com/users/ryanRfox/orgs","repos_url":"https://api.github.com/users/ryanRfox/repos","events_url":"https://api.github.com/users/ryanRfox/events{/privacy}","received_events_url":"https://api.github.com/users/ryanRfox/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bitshares/bitshares-core/milestones/8","html_url":"https://github.com/bitshares/bitshares-core/milestone/8","labels_url":"https://api.github.com/repos/bitshares/bitshares-core/milestones/8/labels","id":2939160,"node_id":"MDk6TWlsZXN0b25lMjkzOTE2MA==","number":8,"title":"Future Non-Consensus-Changing Release","description":"Non-consensus changes without a schedule come here. Finished jobs will be moved to another milestone for merge and release. \"Won't fix\" jobs will be removed from here.","creator":{"login":"abitmore","id":9946777,"node_id":"MDQ6VXNlcjk5NDY3Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/9946777?v=4","gravatar_id":"","url":"https://api.github.com/users/abitmore","html_url":"https://github.com/abitmore","followers_url":"https://api.github.com/users/abitmore/followers","following_url":"https://api.github.com/users/abitmore/following{/other_user}","gists_url":"https://api.github.com/users/abitmore/gists{/gist_id}","starred_url":"https://api.github.com/users/abitmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitmore/subscriptions","organizations_url":"https://api.github.com/users/abitmore/orgs","repos_url":"https://api.github.com/users/abitmore/repos","events_url":"https://api.github.com/users/abitmore/events{/privacy}","received_events_url":"https://api.github.com/users/abitmore/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":2,"state":"open","created_at":"2017-11-27T10:33:09Z","updated_at":"2018-06-24T21:35:35Z","due_on":"2038-12-31T08:00:00Z","closed_at":null},"comments":26,"created_at":"2018-04-03T17:55:02Z","updated_at":"2018-06-25T13:36:35Z","closed_at":null,"author_association":"MEMBER","body":"Steps to reproduce:\r\n* change `config.ini` so default log will be written to file\r\n```\r\n# declare an appender named \"default\" that writes messages to default.log\r\n[log.file_appender.default]\r\nfilename=logs/default/default.log\r\n# filename can be absolute or relative to this config file\r\n\r\n# route any messages logged to the default logger to the \"stderr\" logger and \"default\" logger we\r\n# declared above, if they are info level are higher\r\n[logger.default]\r\nlevel=info\r\nappenders=stderr,default\r\n```\r\n* start `witness_node`\r\n* stop `witness_node`\r\n* check log file (witness_node_data_dir/logs/default/default.log)\r\n* start `witness_node` again\r\n* check log file (witness_node_data_dir/logs/default/default.log)\r\n\r\nThe log file will be overwritten on restart.\r\n\r\nIMHO the default behavior should be appending but not overwriting.\r\n\r\n## CORE TEAM TASK LIST\r\n- [x] Evaluate / Prioritize Feature Request\r\n- [x] Refine User Stories / Requirements\r\n- [ ] Define Test Cases\r\n- [ ] Design / Develop Solution\r\n  - [x] Issue estimation: 2 hours\r\n  - [x] Issue assigned to @nanomobile \r\n- [ ] Perform QA/Testing\r\n- [ ] Update Documentation"},"comment":{"url":"https://api.github.com/repos/bitshares/bitshares-core/issues/comments/399954156","html_url":"https://github.com/bitshares/bitshares-core/issues/809#issuecomment-399954156","issue_url":"https://api.github.com/repos/bitshares/bitshares-core/issues/809","id":399954156,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTk1NDE1Ng==","user":{"login":"nanomobile","id":3896745,"node_id":"MDQ6VXNlcjM4OTY3NDU=","avatar_url":"https://avatars2.githubusercontent.com/u/3896745?v=4","gravatar_id":"","url":"https://api.github.com/users/nanomobile","html_url":"https://github.com/nanomobile","followers_url":"https://api.github.com/users/nanomobile/followers","following_url":"https://api.github.com/users/nanomobile/following{/other_user}","gists_url":"https://api.github.com/users/nanomobile/gists{/gist_id}","starred_url":"https://api.github.com/users/nanomobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanomobile/subscriptions","organizations_url":"https://api.github.com/users/nanomobile/orgs","repos_url":"https://api.github.com/users/nanomobile/repos","events_url":"https://api.github.com/users/nanomobile/events{/privacy}","received_events_url":"https://api.github.com/users/nanomobile/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T13:36:35Z","updated_at":"2018-06-25T13:36:35Z","author_association":"NONE","body":"I'm still researching the code more and more, but as I see now I need to save old logs before default.log file will be deleted and after that I need to save old logs before new logs will be added and of course I need to make it correctly. Maybe I'm wrong with my solution that's why I'm still debugging and researching the whole code."}}
{"actor":{"display_login":"nanomobile"}}