{"action":"created","issue":{"url":"https://api.github.com/repos/vdemydiuk/mtapi/issues/29","repository_url":"https://api.github.com/repos/vdemydiuk/mtapi","labels_url":"https://api.github.com/repos/vdemydiuk/mtapi/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/vdemydiuk/mtapi/issues/29/comments","events_url":"https://api.github.com/repos/vdemydiuk/mtapi/issues/29/events","html_url":"https://github.com/vdemydiuk/mtapi/issues/29","id":187438297,"number":29,"title":"MtApi bad logging","user":{"login":"arteny","id":3794104,"avatar_url":"https://avatars.githubusercontent.com/u/3794104?v=3","gravatar_id":"","url":"https://api.github.com/users/arteny","html_url":"https://github.com/arteny","followers_url":"https://api.github.com/users/arteny/followers","following_url":"https://api.github.com/users/arteny/following{/other_user}","gists_url":"https://api.github.com/users/arteny/gists{/gist_id}","starred_url":"https://api.github.com/users/arteny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arteny/subscriptions","organizations_url":"https://api.github.com/users/arteny/orgs","repos_url":"https://api.github.com/users/arteny/repos","events_url":"https://api.github.com/users/arteny/events{/privacy}","received_events_url":"https://api.github.com/users/arteny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/vdemydiuk/mtapi/milestones/2","html_url":"https://github.com/vdemydiuk/mtapi/milestones/MtApi%20MT5%20v1.0.11","labels_url":"https://api.github.com/repos/vdemydiuk/mtapi/milestones/2/labels","id":2121621,"number":2,"title":"MtApi MT5 v1.0.11","description":null,"creator":{"login":"vdemydiuk","id":5229395,"avatar_url":"https://avatars.githubusercontent.com/u/5229395?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemydiuk","html_url":"https://github.com/vdemydiuk","followers_url":"https://api.github.com/users/vdemydiuk/followers","following_url":"https://api.github.com/users/vdemydiuk/following{/other_user}","gists_url":"https://api.github.com/users/vdemydiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemydiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemydiuk/subscriptions","organizations_url":"https://api.github.com/users/vdemydiuk/orgs","repos_url":"https://api.github.com/users/vdemydiuk/repos","events_url":"https://api.github.com/users/vdemydiuk/events{/privacy}","received_events_url":"https://api.github.com/users/vdemydiuk/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"closed","created_at":"2016-11-08T11:59:26Z","updated_at":"2016-11-10T09:34:09Z","due_on":null,"closed_at":"2016-11-10T09:34:09Z"},"comments":2,"created_at":"2016-11-04T21:06:19Z","updated_at":"2016-11-10T11:05:30Z","closed_at":"2016-11-10T08:43:25Z","body":"When I started my application I got\r\n\tlog4net:ERROR RollingFileAppender: INTERNAL ERROR. Append is False but OutputFile [C:\\Users\\Alexey\\AppData\\Local\\Temp\\MtApi5Client\\Logs\\2016-04-11--23-46-42.txt] already exists.\t\r\n\r\nI am not sure what is reason, but looks like there is a initialization of logging from MtApi5.dll itself. I think it is not good way to initialize logging from library and it should be initialized from client application (for instance add appropriate API call) and library itself should only add messages logging calls (they will find log instance correctly).\r\n\r\nI am using such configuration in my client (looks like same logging framework is used):\r\n\t\t\tLog.Logger = new LoggerConfiguration()\r\n\t\t\t.MinimumLevel.Debug()\r\n\t\t\t.WriteTo.Trace()\r\n\t\t\t.CreateLogger();\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vdemydiuk/mtapi/issues/comments/259662874","html_url":"https://github.com/vdemydiuk/mtapi/issues/29#issuecomment-259662874","issue_url":"https://api.github.com/repos/vdemydiuk/mtapi/issues/29","id":259662874,"user":{"login":"arteny","id":3794104,"avatar_url":"https://avatars.githubusercontent.com/u/3794104?v=3","gravatar_id":"","url":"https://api.github.com/users/arteny","html_url":"https://github.com/arteny","followers_url":"https://api.github.com/users/arteny/followers","following_url":"https://api.github.com/users/arteny/following{/other_user}","gists_url":"https://api.github.com/users/arteny/gists{/gist_id}","starred_url":"https://api.github.com/users/arteny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arteny/subscriptions","organizations_url":"https://api.github.com/users/arteny/orgs","repos_url":"https://api.github.com/users/arteny/repos","events_url":"https://api.github.com/users/arteny/events{/privacy}","received_events_url":"https://api.github.com/users/arteny/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T11:05:30Z","updated_at":"2016-11-10T11:05:30Z","body":"Yes, I am using Serilog/\r\nAs for several instances - no, I am using only one, and this error is not stable reproducable, just sometimes I could see such errors."}}
{"actor":{"display_login":"arteny"}}