{"action":"created","issue":{"url":"https://api.github.com/repos/serilog-web/classic/issues/21","repository_url":"https://api.github.com/repos/serilog-web/classic","labels_url":"https://api.github.com/repos/serilog-web/classic/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/serilog-web/classic/issues/21/comments","events_url":"https://api.github.com/repos/serilog-web/classic/issues/21/events","html_url":"https://github.com/serilog-web/classic/pull/21","id":104776331,"number":21,"title":"Adding property for minumum HTTP status failure","user":{"login":"enkafan","id":2447331,"avatar_url":"https://avatars.githubusercontent.com/u/2447331?v=3","gravatar_id":"","url":"https://api.github.com/users/enkafan","html_url":"https://github.com/enkafan","followers_url":"https://api.github.com/users/enkafan/followers","following_url":"https://api.github.com/users/enkafan/following{/other_user}","gists_url":"https://api.github.com/users/enkafan/gists{/gist_id}","starred_url":"https://api.github.com/users/enkafan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enkafan/subscriptions","organizations_url":"https://api.github.com/users/enkafan/orgs","repos_url":"https://api.github.com/users/enkafan/repos","events_url":"https://api.github.com/users/enkafan/events{/privacy}","received_events_url":"https://api.github.com/users/enkafan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-03T20:35:15Z","updated_at":"2016-02-13T20:35:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/serilog-web/classic/pulls/21","html_url":"https://github.com/serilog-web/classic/pull/21","diff_url":"https://github.com/serilog-web/classic/pull/21.diff","patch_url":"https://github.com/serilog-web/classic/pull/21.patch"},"body":"I was hoping to log bad data posted to our WebAPI but we return a 400 when we encounter validation errors. Needed a way tweak what was considered a failure.\r\n\r\nAlso thought about adding another option to LogPostedFormDataOption that would indicate logging client (4xx) and server errors (5xx) but this felt like it was the least intrusive to the current API."},"comment":{"url":"https://api.github.com/repos/serilog-web/classic/issues/comments/183748716","html_url":"https://github.com/serilog-web/classic/pull/21#issuecomment-183748716","issue_url":"https://api.github.com/repos/serilog-web/classic/issues/21","id":183748716,"user":{"login":"enkafan","id":2447331,"avatar_url":"https://avatars.githubusercontent.com/u/2447331?v=3","gravatar_id":"","url":"https://api.github.com/users/enkafan","html_url":"https://github.com/enkafan","followers_url":"https://api.github.com/users/enkafan/followers","following_url":"https://api.github.com/users/enkafan/following{/other_user}","gists_url":"https://api.github.com/users/enkafan/gists{/gist_id}","starred_url":"https://api.github.com/users/enkafan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enkafan/subscriptions","organizations_url":"https://api.github.com/users/enkafan/orgs","repos_url":"https://api.github.com/users/enkafan/repos","events_url":"https://api.github.com/users/enkafan/events{/privacy}","received_events_url":"https://api.github.com/users/enkafan/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T20:35:25Z","updated_at":"2016-02-13T20:35:25Z","body":"Alrighty, took @merbla's recommendations and applied them. Gotta set three properties to get the custom filtering enabled, but I think each step is clear why you'd need to do it. I think things end up looking pretty clean."}}