{"action":"opened","issue":{"url":"https://api.github.com/repos/bedita/bedita/issues/754","labels_url":"https://api.github.com/repos/bedita/bedita/issues/754/labels{/name}","comments_url":"https://api.github.com/repos/bedita/bedita/issues/754/comments","events_url":"https://api.github.com/repos/bedita/bedita/issues/754/events","html_url":"https://github.com/bedita/bedita/issues/754","id":110616237,"number":754,"title":"Exception logging: separate log files, default and custom config","user":{"login":"didoda","id":2227145,"avatar_url":"https://avatars.githubusercontent.com/u/2227145?v=3","gravatar_id":"","url":"https://api.github.com/users/didoda","html_url":"https://github.com/didoda","followers_url":"https://api.github.com/users/didoda/followers","following_url":"https://api.github.com/users/didoda/following{/other_user}","gists_url":"https://api.github.com/users/didoda/gists{/gist_id}","starred_url":"https://api.github.com/users/didoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didoda/subscriptions","organizations_url":"https://api.github.com/users/didoda/orgs","repos_url":"https://api.github.com/users/didoda/repos","events_url":"https://api.github.com/users/didoda/events{/privacy}","received_events_url":"https://api.github.com/users/didoda/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bedita/bedita/labels/Priority%20-%20Normal","name":"Priority - Normal","color":"67D846"},{"url":"https://api.github.com/repos/bedita/bedita/labels/Type%20-%20Enhancement","name":"Type - Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bedita/bedita/milestones/12","html_url":"https://github.com/bedita/bedita/milestones/3-stable","labels_url":"https://api.github.com/repos/bedita/bedita/milestones/12/labels","id":633090,"number":12,"title":"3-stable","description":"branch: 3-corylus\r\n\r\nfixes and minor features for 3-corylus","creator":{"login":"stefanorosanelli","id":2122280,"avatar_url":"https://avatars.githubusercontent.com/u/2122280?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanorosanelli","html_url":"https://github.com/stefanorosanelli","followers_url":"https://api.github.com/users/stefanorosanelli/followers","following_url":"https://api.github.com/users/stefanorosanelli/following{/other_user}","gists_url":"https://api.github.com/users/stefanorosanelli/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanorosanelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanorosanelli/subscriptions","organizations_url":"https://api.github.com/users/stefanorosanelli/orgs","repos_url":"https://api.github.com/users/stefanorosanelli/repos","events_url":"https://api.github.com/users/stefanorosanelli/events{/privacy}","received_events_url":"https://api.github.com/users/stefanorosanelli/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":161,"state":"open","created_at":"2014-04-17T15:40:04Z","updated_at":"2015-10-09T08:56:05Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-10-09T08:56:05Z","updated_at":"2015-10-09T08:56:05Z","closed_at":null,"body":"When a BeditaException is thrown, system logs to 'error.log'.\r\nIt's not correct.\r\nWhen a BeditaException is thrown, system should:\r\n\r\na) log to a specified file (i.e. debug.log, http_responses.log, filesystem.log, database.log, ...) [default file choosen by semantic of exception]\r\nb) not log at all (i.e. http status codes 401, 404, ...)\r\n\r\nDevelopers should have the possibility to force an exception to log to a specified file, different from default.\r\nIn some circumstances, logging organisation should be customisable (custom configuration overrides defaults)."}}