{"action":"created","comment":{"url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/comments/48589571","id":48589571,"diff_hunk":"@@ -0,0 +1,17 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<nlog xmlns=\"http://www.nlog-project.org/schemas/NLog.xsd\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n+\t<targets>\n+\t\t<target name=\"FileTarget\" xsi:type=\"File\"\n+\t\t\tlayout=\"[${longdate:universalTime=True}] [${level}] ${message}\"","path":"src/Roadkill.Web/App_Data/NLog.config","position":5,"original_position":5,"commit_id":"6fef1f3b2e8395975d2b736317ae37bf33dc915a","original_commit_id":"6fef1f3b2e8395975d2b736317ae37bf33dc915a","user":{"login":"304NotModified","id":5808377,"avatar_url":"https://avatars.githubusercontent.com/u/5808377?v=3","gravatar_id":"","url":"https://api.github.com/users/304NotModified","html_url":"https://github.com/304NotModified","followers_url":"https://api.github.com/users/304NotModified/followers","following_url":"https://api.github.com/users/304NotModified/following{/other_user}","gists_url":"https://api.github.com/users/304NotModified/gists{/gist_id}","starred_url":"https://api.github.com/users/304NotModified/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/304NotModified/subscriptions","organizations_url":"https://api.github.com/users/304NotModified/orgs","repos_url":"https://api.github.com/users/304NotModified/repos","events_url":"https://api.github.com/users/304NotModified/events{/privacy}","received_events_url":"https://api.github.com/users/304NotModified/received_events","type":"User","site_admin":false},"body":"Yes it is,  pass the exception as first parameter. See docs with examples: https://github.com/NLog/NLog/wiki/How-to-log-exceptions\r\n\r\n(and maybe use `. Log() ` and drop the switch?) ","created_at":"2015-12-30T07:09:20Z","updated_at":"2015-12-30T07:09:20Z","html_url":"https://github.com/roadkillwiki/roadkill/pull/40#discussion_r48589571","pull_request_url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/comments/48589571"},"html":{"href":"https://github.com/roadkillwiki/roadkill/pull/40#discussion_r48589571"},"pull_request":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40","id":54740823,"html_url":"https://github.com/roadkillwiki/roadkill/pull/40","diff_url":"https://github.com/roadkillwiki/roadkill/pull/40.diff","patch_url":"https://github.com/roadkillwiki/roadkill/pull/40.patch","issue_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues/40","number":40,"state":"closed","locked":false,"title":"Simplify logging","user":{"login":"yetanotherchris","id":54912,"avatar_url":"https://avatars.githubusercontent.com/u/54912?v=3","gravatar_id":"","url":"https://api.github.com/users/yetanotherchris","html_url":"https://github.com/yetanotherchris","followers_url":"https://api.github.com/users/yetanotherchris/followers","following_url":"https://api.github.com/users/yetanotherchris/following{/other_user}","gists_url":"https://api.github.com/users/yetanotherchris/gists{/gist_id}","starred_url":"https://api.github.com/users/yetanotherchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yetanotherchris/subscriptions","organizations_url":"https://api.github.com/users/yetanotherchris/orgs","repos_url":"https://api.github.com/users/yetanotherchris/repos","events_url":"https://api.github.com/users/yetanotherchris/events{/privacy}","received_events_url":"https://api.github.com/users/yetanotherchris/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-29T16:53:58Z","updated_at":"2015-12-30T07:09:20Z","closed_at":"2015-12-29T16:54:33Z","merged_at":"2015-12-29T16:54:33Z","merge_commit_sha":"1468f09f36598614810224ee666401d9295c0f1e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40/commits","review_comments_url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40/comments","review_comment_url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues/40/comments","statuses_url":"https://api.github.com/repos/roadkillwiki/roadkill/statuses/6fef1f3b2e8395975d2b736317ae37bf33dc915a","head":{"label":"roadkillwiki:simplify-logging","ref":"simplify-logging","sha":"6fef1f3b2e8395975d2b736317ae37bf33dc915a","user":{"login":"roadkillwiki","id":10688999,"avatar_url":"https://avatars.githubusercontent.com/u/10688999?v=3","gravatar_id":"","url":"https://api.github.com/users/roadkillwiki","html_url":"https://github.com/roadkillwiki","followers_url":"https://api.github.com/users/roadkillwiki/followers","following_url":"https://api.github.com/users/roadkillwiki/following{/other_user}","gists_url":"https://api.github.com/users/roadkillwiki/gists{/gist_id}","starred_url":"https://api.github.com/users/roadkillwiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadkillwiki/subscriptions","organizations_url":"https://api.github.com/users/roadkillwiki/orgs","repos_url":"https://api.github.com/users/roadkillwiki/repos","events_url":"https://api.github.com/users/roadkillwiki/events{/privacy}","received_events_url":"https://api.github.com/users/roadkillwiki/received_events","type":"Organization","site_admin":false},"repo":{"id":29792428,"name":"roadkill","full_name":"roadkillwiki/roadkill","owner":{"login":"roadkillwiki","id":10688999,"avatar_url":"https://avatars.githubusercontent.com/u/10688999?v=3","gravatar_id":"","url":"https://api.github.com/users/roadkillwiki","html_url":"https://github.com/roadkillwiki","followers_url":"https://api.github.com/users/roadkillwiki/followers","following_url":"https://api.github.com/users/roadkillwiki/following{/other_user}","gists_url":"https://api.github.com/users/roadkillwiki/gists{/gist_id}","starred_url":"https://api.github.com/users/roadkillwiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadkillwiki/subscriptions","organizations_url":"https://api.github.com/users/roadkillwiki/orgs","repos_url":"https://api.github.com/users/roadkillwiki/repos","events_url":"https://api.github.com/users/roadkillwiki/events{/privacy}","received_events_url":"https://api.github.com/users/roadkillwiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roadkillwiki/roadkill","description":"A modern .NET Wiki","fork":false,"url":"https://api.github.com/repos/roadkillwiki/roadkill","forks_url":"https://api.github.com/repos/roadkillwiki/roadkill/forks","keys_url":"https://api.github.com/repos/roadkillwiki/roadkill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roadkillwiki/roadkill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roadkillwiki/roadkill/teams","hooks_url":"https://api.github.com/repos/roadkillwiki/roadkill/hooks","issue_events_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues/events{/number}","events_url":"https://api.github.com/repos/roadkillwiki/roadkill/events","assignees_url":"https://api.github.com/repos/roadkillwiki/roadkill/assignees{/user}","branches_url":"https://api.github.com/repos/roadkillwiki/roadkill/branches{/branch}","tags_url":"https://api.github.com/repos/roadkillwiki/roadkill/tags","blobs_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/refs{/sha}","trees_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roadkillwiki/roadkill/statuses/{sha}","languages_url":"https://api.github.com/repos/roadkillwiki/roadkill/languages","stargazers_url":"https://api.github.com/repos/roadkillwiki/roadkill/stargazers","contributors_url":"https://api.github.com/repos/roadkillwiki/roadkill/contributors","subscribers_url":"https://api.github.com/repos/roadkillwiki/roadkill/subscribers","subscription_url":"https://api.github.com/repos/roadkillwiki/roadkill/subscription","commits_url":"https://api.github.com/repos/roadkillwiki/roadkill/commits{/sha}","git_commits_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/commits{/sha}","comments_url":"https://api.github.com/repos/roadkillwiki/roadkill/comments{/number}","issue_comment_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues/comments{/number}","contents_url":"https://api.github.com/repos/roadkillwiki/roadkill/contents/{+path}","compare_url":"https://api.github.com/repos/roadkillwiki/roadkill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roadkillwiki/roadkill/merges","archive_url":"https://api.github.com/repos/roadkillwiki/roadkill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roadkillwiki/roadkill/downloads","issues_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues{/number}","pulls_url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls{/number}","milestones_url":"https://api.github.com/repos/roadkillwiki/roadkill/milestones{/number}","notifications_url":"https://api.github.com/repos/roadkillwiki/roadkill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roadkillwiki/roadkill/labels{/name}","releases_url":"https://api.github.com/repos/roadkillwiki/roadkill/releases{/id}","created_at":"2015-01-24T21:34:29Z","updated_at":"2015-12-29T16:58:02Z","pushed_at":"2015-12-29T16:54:34Z","git_url":"git://github.com/roadkillwiki/roadkill.git","ssh_url":"git@github.com:roadkillwiki/roadkill.git","clone_url":"https://github.com/roadkillwiki/roadkill.git","svn_url":"https://github.com/roadkillwiki/roadkill","homepage":null,"size":330319,"stargazers_count":68,"watchers_count":68,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":4,"forks":71,"open_issues":4,"watchers":68,"default_branch":"master"}},"base":{"label":"roadkillwiki:master","ref":"master","sha":"a51a6a0b23aa2a3f3eb10b15ffc47f6c3a33d736","user":{"login":"roadkillwiki","id":10688999,"avatar_url":"https://avatars.githubusercontent.com/u/10688999?v=3","gravatar_id":"","url":"https://api.github.com/users/roadkillwiki","html_url":"https://github.com/roadkillwiki","followers_url":"https://api.github.com/users/roadkillwiki/followers","following_url":"https://api.github.com/users/roadkillwiki/following{/other_user}","gists_url":"https://api.github.com/users/roadkillwiki/gists{/gist_id}","starred_url":"https://api.github.com/users/roadkillwiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadkillwiki/subscriptions","organizations_url":"https://api.github.com/users/roadkillwiki/orgs","repos_url":"https://api.github.com/users/roadkillwiki/repos","events_url":"https://api.github.com/users/roadkillwiki/events{/privacy}","received_events_url":"https://api.github.com/users/roadkillwiki/received_events","type":"Organization","site_admin":false},"repo":{"id":29792428,"name":"roadkill","full_name":"roadkillwiki/roadkill","owner":{"login":"roadkillwiki","id":10688999,"avatar_url":"https://avatars.githubusercontent.com/u/10688999?v=3","gravatar_id":"","url":"https://api.github.com/users/roadkillwiki","html_url":"https://github.com/roadkillwiki","followers_url":"https://api.github.com/users/roadkillwiki/followers","following_url":"https://api.github.com/users/roadkillwiki/following{/other_user}","gists_url":"https://api.github.com/users/roadkillwiki/gists{/gist_id}","starred_url":"https://api.github.com/users/roadkillwiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roadkillwiki/subscriptions","organizations_url":"https://api.github.com/users/roadkillwiki/orgs","repos_url":"https://api.github.com/users/roadkillwiki/repos","events_url":"https://api.github.com/users/roadkillwiki/events{/privacy}","received_events_url":"https://api.github.com/users/roadkillwiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/roadkillwiki/roadkill","description":"A modern .NET Wiki","fork":false,"url":"https://api.github.com/repos/roadkillwiki/roadkill","forks_url":"https://api.github.com/repos/roadkillwiki/roadkill/forks","keys_url":"https://api.github.com/repos/roadkillwiki/roadkill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roadkillwiki/roadkill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roadkillwiki/roadkill/teams","hooks_url":"https://api.github.com/repos/roadkillwiki/roadkill/hooks","issue_events_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues/events{/number}","events_url":"https://api.github.com/repos/roadkillwiki/roadkill/events","assignees_url":"https://api.github.com/repos/roadkillwiki/roadkill/assignees{/user}","branches_url":"https://api.github.com/repos/roadkillwiki/roadkill/branches{/branch}","tags_url":"https://api.github.com/repos/roadkillwiki/roadkill/tags","blobs_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/refs{/sha}","trees_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roadkillwiki/roadkill/statuses/{sha}","languages_url":"https://api.github.com/repos/roadkillwiki/roadkill/languages","stargazers_url":"https://api.github.com/repos/roadkillwiki/roadkill/stargazers","contributors_url":"https://api.github.com/repos/roadkillwiki/roadkill/contributors","subscribers_url":"https://api.github.com/repos/roadkillwiki/roadkill/subscribers","subscription_url":"https://api.github.com/repos/roadkillwiki/roadkill/subscription","commits_url":"https://api.github.com/repos/roadkillwiki/roadkill/commits{/sha}","git_commits_url":"https://api.github.com/repos/roadkillwiki/roadkill/git/commits{/sha}","comments_url":"https://api.github.com/repos/roadkillwiki/roadkill/comments{/number}","issue_comment_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues/comments{/number}","contents_url":"https://api.github.com/repos/roadkillwiki/roadkill/contents/{+path}","compare_url":"https://api.github.com/repos/roadkillwiki/roadkill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roadkillwiki/roadkill/merges","archive_url":"https://api.github.com/repos/roadkillwiki/roadkill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roadkillwiki/roadkill/downloads","issues_url":"https://api.github.com/repos/roadkillwiki/roadkill/issues{/number}","pulls_url":"https://api.github.com/repos/roadkillwiki/roadkill/pulls{/number}","milestones_url":"https://api.github.com/repos/roadkillwiki/roadkill/milestones{/number}","notifications_url":"https://api.github.com/repos/roadkillwiki/roadkill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roadkillwiki/roadkill/labels{/name}","releases_url":"https://api.github.com/repos/roadkillwiki/roadkill/releases{/id}","created_at":"2015-01-24T21:34:29Z","updated_at":"2015-12-29T16:58:02Z","pushed_at":"2015-12-29T16:54:34Z","git_url":"git://github.com/roadkillwiki/roadkill.git","ssh_url":"git@github.com:roadkillwiki/roadkill.git","clone_url":"https://github.com/roadkillwiki/roadkill.git","svn_url":"https://github.com/roadkillwiki/roadkill","homepage":null,"size":330319,"stargazers_count":68,"watchers_count":68,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":4,"forks":71,"open_issues":4,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40"},"html":{"href":"https://github.com/roadkillwiki/roadkill/pull/40"},"issue":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/issues/40"},"comments":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/roadkillwiki/roadkill/statuses/6fef1f3b2e8395975d2b736317ae37bf33dc915a"}}}}