{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments/170149373","pull_request_review_id":98793665,"id":170149373,"diff_hunk":"@@ -22,7 +22,7 @@ public sealed class StructuredLogWriter : IDisposable\n         public StructuredLogWriter(IScriptEventManager eventManager, string baseLogPath)\n         {\n             string logPath = Path.Combine(baseLogPath, \"structured\");\n-            _traceWriter = new FileTraceWriter(logPath, TraceLevel.Verbose, s => s);\n+            _traceWriter = new FileTraceWriter(logPath, TraceLevel.Verbose, LogType.Structured, s => s);","path":"src/WebJobs.Script/Diagnostics/StructuredLogWriter.cs","position":5,"original_position":5,"commit_id":"c628a86f5479b2a6067787d618108375fbde72c5","original_commit_id":"c628a86f5479b2a6067787d618108375fbde72c5","user":{"login":"mathewc","id":1056548,"avatar_url":"https://avatars3.githubusercontent.com/u/1056548?v=4","gravatar_id":"","url":"https://api.github.com/users/mathewc","html_url":"https://github.com/mathewc","followers_url":"https://api.github.com/users/mathewc/followers","following_url":"https://api.github.com/users/mathewc/following{/other_user}","gists_url":"https://api.github.com/users/mathewc/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewc/subscriptions","organizations_url":"https://api.github.com/users/mathewc/orgs","repos_url":"https://api.github.com/users/mathewc/repos","events_url":"https://api.github.com/users/mathewc/events{/privacy}","received_events_url":"https://api.github.com/users/mathewc/received_events","type":"User","site_admin":false},"body":"Not really sure what this structured log writer is doing with the identity formatter `s => s`","created_at":"2018-02-23T02:06:42Z","updated_at":"2018-02-23T02:06:42Z","html_url":"https://github.com/Azure/azure-functions-host/pull/2454#discussion_r170149373","pull_request_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments/170149373"},"html":{"href":"https://github.com/Azure/azure-functions-host/pull/2454#discussion_r170149373"},"pull_request":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454"}}},"pull_request":{"url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454","id":170915778,"html_url":"https://github.com/Azure/azure-functions-host/pull/2454","diff_url":"https://github.com/Azure/azure-functions-host/pull/2454.diff","patch_url":"https://github.com/Azure/azure-functions-host/pull/2454.patch","issue_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/2454","number":2454,"state":"open","locked":false,"title":"Improvements to log file metadata prefixing","user":{"login":"mathewc","id":1056548,"avatar_url":"https://avatars3.githubusercontent.com/u/1056548?v=4","gravatar_id":"","url":"https://api.github.com/users/mathewc","html_url":"https://github.com/mathewc","followers_url":"https://api.github.com/users/mathewc/followers","following_url":"https://api.github.com/users/mathewc/following{/other_user}","gists_url":"https://api.github.com/users/mathewc/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewc/subscriptions","organizations_url":"https://api.github.com/users/mathewc/orgs","repos_url":"https://api.github.com/users/mathewc/repos","events_url":"https://api.github.com/users/mathewc/events{/privacy}","received_events_url":"https://api.github.com/users/mathewc/received_events","type":"User","site_admin":false},"body":"Addendum to https://github.com/Azure/azure-functions-host/pull/2443\r\n\r\nLing requested that we also include FunctionName in the file log entries coming from ScaleController logs.","created_at":"2018-02-23T02:04:39Z","updated_at":"2018-02-23T02:06:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b49544e18cde0a84fa85fedb5207776dc430431","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/2454/comments","statuses_url":"https://api.github.com/repos/Azure/azure-functions-host/statuses/c628a86f5479b2a6067787d618108375fbde72c5","head":{"label":"Azure:func-log","ref":"func-log","sha":"c628a86f5479b2a6067787d618108375fbde72c5","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":42548553,"name":"azure-functions-host","full_name":"Azure/azure-functions-host","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-functions-host","description":"The host/runtime that powers Azure Functions","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-host","forks_url":"https://api.github.com/repos/Azure/azure-functions-host/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-host/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-host/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-host/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-host/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-host/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-host/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-host/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-host/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-host/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-host/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-host/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-host/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-host/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-host/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-host/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-host/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-host/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-host/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-host/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-host/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-host/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-host/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-host/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-host/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-host/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-host/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-host/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-host/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-host/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-host/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-host/deployments","created_at":"2015-09-15T21:48:19Z","updated_at":"2018-02-22T05:49:37Z","pushed_at":"2018-02-23T02:04:39Z","git_url":"git://github.com/Azure/azure-functions-host.git","ssh_url":"git@github.com:Azure/azure-functions-host.git","clone_url":"https://github.com/Azure/azure-functions-host.git","svn_url":"https://github.com/Azure/azure-functions-host","homepage":"https://functions.azure.com","size":20540,"stargazers_count":387,"watchers_count":387,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"archived":false,"open_issues_count":473,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":146,"open_issues":473,"watchers":387,"default_branch":"dev"}},"base":{"label":"Azure:v1.x","ref":"v1.x","sha":"6fc6559924216ff686b3eb1f66d80d6e7c10c055","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":42548553,"name":"azure-functions-host","full_name":"Azure/azure-functions-host","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-functions-host","description":"The host/runtime that powers Azure Functions","fork":false,"url":"https://api.github.com/repos/Azure/azure-functions-host","forks_url":"https://api.github.com/repos/Azure/azure-functions-host/forks","keys_url":"https://api.github.com/repos/Azure/azure-functions-host/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-functions-host/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-functions-host/teams","hooks_url":"https://api.github.com/repos/Azure/azure-functions-host/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-functions-host/events","assignees_url":"https://api.github.com/repos/Azure/azure-functions-host/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-functions-host/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-functions-host/tags","blobs_url":"https://api.github.com/repos/Azure/azure-functions-host/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-functions-host/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-functions-host/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-functions-host/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-functions-host/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-functions-host/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-functions-host/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-functions-host/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-functions-host/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-functions-host/subscription","commits_url":"https://api.github.com/repos/Azure/azure-functions-host/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-functions-host/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-functions-host/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-functions-host/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-functions-host/merges","archive_url":"https://api.github.com/repos/Azure/azure-functions-host/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-functions-host/downloads","issues_url":"https://api.github.com/repos/Azure/azure-functions-host/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-functions-host/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-functions-host/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-functions-host/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-functions-host/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-functions-host/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-functions-host/deployments","created_at":"2015-09-15T21:48:19Z","updated_at":"2018-02-22T05:49:37Z","pushed_at":"2018-02-23T02:04:39Z","git_url":"git://github.com/Azure/azure-functions-host.git","ssh_url":"git@github.com:Azure/azure-functions-host.git","clone_url":"https://github.com/Azure/azure-functions-host.git","svn_url":"https://github.com/Azure/azure-functions-host","homepage":"https://functions.azure.com","size":20540,"stargazers_count":387,"watchers_count":387,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":146,"mirror_url":null,"archived":false,"open_issues_count":473,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":146,"open_issues":473,"watchers":387,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454"},"html":{"href":"https://github.com/Azure/azure-functions-host/pull/2454"},"issue":{"href":"https://api.github.com/repos/Azure/azure-functions-host/issues/2454"},"comments":{"href":"https://api.github.com/repos/Azure/azure-functions-host/issues/2454/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-functions-host/pulls/2454/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-functions-host/statuses/c628a86f5479b2a6067787d618108375fbde72c5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mathewc"}}