{"action":"created","issue":{"url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/issues/48","labels_url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/issues/48/comments","events_url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/issues/48/events","html_url":"https://github.com/bioinformatics-ua/dicoogle/issues/48","id":79073641,"number":48,"title":"[webapp] Logger servlet is hardcoded to a specific file name","user":{"login":"Enet4","id":4738426,"avatar_url":"https://avatars.githubusercontent.com/u/4738426?v=3","gravatar_id":"","url":"https://api.github.com/users/Enet4","html_url":"https://github.com/Enet4","followers_url":"https://api.github.com/users/Enet4/followers","following_url":"https://api.github.com/users/Enet4/following{/other_user}","gists_url":"https://api.github.com/users/Enet4/gists{/gist_id}","starred_url":"https://api.github.com/users/Enet4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enet4/subscriptions","organizations_url":"https://api.github.com/users/Enet4/orgs","repos_url":"https://api.github.com/users/Enet4/repos","events_url":"https://api.github.com/users/Enet4/events{/privacy}","received_events_url":"https://api.github.com/users/Enet4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/milestones/1","html_url":"https://github.com/bioinformatics-ua/dicoogle/milestones/2.0%20-%20New%20Web%20Application","labels_url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/milestones/1/labels","id":1015006,"number":1,"title":"2.0 - New Web Application","description":"Everything regarding the new Dicoogle web application.","creator":{"login":"Enet4","id":4738426,"avatar_url":"https://avatars.githubusercontent.com/u/4738426?v=3","gravatar_id":"","url":"https://api.github.com/users/Enet4","html_url":"https://github.com/Enet4","followers_url":"https://api.github.com/users/Enet4/followers","following_url":"https://api.github.com/users/Enet4/following{/other_user}","gists_url":"https://api.github.com/users/Enet4/gists{/gist_id}","starred_url":"https://api.github.com/users/Enet4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enet4/subscriptions","organizations_url":"https://api.github.com/users/Enet4/orgs","repos_url":"https://api.github.com/users/Enet4/repos","events_url":"https://api.github.com/users/Enet4/events{/privacy}","received_events_url":"https://api.github.com/users/Enet4/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-03-10T16:07:17Z","updated_at":"2015-05-21T17:19:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-21T16:37:52Z","updated_at":"2015-05-21T20:37:42Z","closed_at":null,"body":"We used to write all log entries in Dicoogle to \"DICOMLOG.log\", but this is no longer true if the logger system is configured to writer to another file (such as what we have right now in \"dev\"). If the file does not exist, the server will currently fail to process logger requests in this servlet.\r\n\r\nTo fix this, we can do one of the following (suggestions are welcome):\r\n\r\n- Check all log4j2 appenders in runtime and read the file of the first occurrence of a file appender;\r\n- Programmatically add an appender (which will always exist regardless of the config file) and use it to retrieve the logs.\r\n- Enforce all log writing to a specific file, such as \"./DICOM.log\". I'd preferably avoid this.\r\n\r\nI really think this issue should be fixed in 2.0. Poking @fredericojssilva in case he's still working on this."},"comment":{"url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/issues/comments/104413966","html_url":"https://github.com/bioinformatics-ua/dicoogle/issues/48#issuecomment-104413966","issue_url":"https://api.github.com/repos/bioinformatics-ua/dicoogle/issues/48","id":104413966,"user":{"login":"Enet4","id":4738426,"avatar_url":"https://avatars.githubusercontent.com/u/4738426?v=3","gravatar_id":"","url":"https://api.github.com/users/Enet4","html_url":"https://github.com/Enet4","followers_url":"https://api.github.com/users/Enet4/followers","following_url":"https://api.github.com/users/Enet4/following{/other_user}","gists_url":"https://api.github.com/users/Enet4/gists{/gist_id}","starred_url":"https://api.github.com/users/Enet4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enet4/subscriptions","organizations_url":"https://api.github.com/users/Enet4/orgs","repos_url":"https://api.github.com/users/Enet4/repos","events_url":"https://api.github.com/users/Enet4/events{/privacy}","received_events_url":"https://api.github.com/users/Enet4/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T20:37:42Z","updated_at":"2015-05-21T20:37:42Z","body":"[this branch](https://github.com/bioinformatics-ua/dicoogle/commit/6e81d63b2ac0d2906d7d8b20dcd548937c8d5647) should solve this well enough. One of us should merge it with `webapp`."}}