{"action":"created","comment":{"url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/comments/32381904","id":32381904,"diff_hunk":"@@ -590,6 +606,52 @@ public boolean isSafe() {\n     }\n \n     /**\n+     * Inject bean identifier attributes. This controls whether the the instance identifier and class name are\n+     * always injected into each serialized data or context value. The values are always injected for non-loggable\n+     * types and this setting allows injection for all types. By default this is false.\n+     *\n+     * @since 1.9.0\n+     *\n+     * @param value Whether to inject the bean identifier attributes for all beans irregardless of loggability.\n+     */\n+    public void setInjectBeanIdentifier(final boolean value) {\n+        _injectBeanIdentifier = value;\n+    }\n+\n+    /**\n+     * Whether bean identifier attributes are injected. By default this is false.\n+     *\n+     * @since 1.9.0\n+     *\n+     * @return True if and only if bean identifier attributes are injected.\n+     */\n+    public boolean isInjectBeanIdentifier() {\n+        return _injectBeanIdentifier;\n+    }\n+\n+    /**\n+     * {@inheritDoc}\n+     */\n+    @Override\n+    protected String encodeAsString(final ILoggingEvent event, final EncodingException ee) {\n+        final StringBuilder encoder = new StringBuilder()\n+                .append(\"{\\\"time\\\":\\\"\")\n+                .append(ISO_DATE_TIME_FORMATTER.format(Instant.ofEpochMilli(event.getTimeStamp())))\n+                .append(\"\\\",\\\"name\\\":\\\"EncodingException\\\",\\\"level\\\":\\\"warn\\\",\\\"data\\\":{\\\"originalMessage\\\":\");\n+        safeEncodeValue(encoder, event.getMessage());\n+        encoder.append(\"},\\\"exception\\\":{\\\"type\\\":\\\"\")\n+                .append(ee.getClass().getName())\n+                .append(\"\\\",\\\"message\\\":\\\"\")\n+                .append(ee.getMessage().replaceAll(\"\\\"\", \"'\"))\n+                .append(\"\\\",\\\"backtrace\\\":[],\\\"data\\\":{}},\\\"context\\\":\");","path":"src/main/java/com/arpnetworking/logback/StenoEncoder.java","position":109,"original_position":109,"commit_id":"01026906e8373f6ee214834a3b21601ddbb75b12","original_commit_id":"01026906e8373f6ee214834a3b21601ddbb75b12","user":{"login":"BrandonArp","id":1232591,"avatar_url":"https://avatars.githubusercontent.com/u/1232591?v=3","gravatar_id":"","url":"https://api.github.com/users/BrandonArp","html_url":"https://github.com/BrandonArp","followers_url":"https://api.github.com/users/BrandonArp/followers","following_url":"https://api.github.com/users/BrandonArp/following{/other_user}","gists_url":"https://api.github.com/users/BrandonArp/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandonArp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandonArp/subscriptions","organizations_url":"https://api.github.com/users/BrandonArp/orgs","repos_url":"https://api.github.com/users/BrandonArp/repos","events_url":"https://api.github.com/users/BrandonArp/events{/privacy}","received_events_url":"https://api.github.com/users/BrandonArp/received_events","type":"User","site_admin":false},"body":"Why is the backtrace an empty array?","created_at":"2015-06-14T17:18:25Z","updated_at":"2015-06-14T17:18:25Z","html_url":"https://github.com/ArpNetworking/logback-steno/pull/11#discussion_r32381904","pull_request_url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/comments/32381904"},"html":{"href":"https://github.com/ArpNetworking/logback-steno/pull/11#discussion_r32381904"},"pull_request":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11","id":37638286,"html_url":"https://github.com/ArpNetworking/logback-steno/pull/11","diff_url":"https://github.com/ArpNetworking/logback-steno/pull/11.diff","patch_url":"https://github.com/ArpNetworking/logback-steno/pull/11.patch","issue_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/11","number":11,"state":"open","locked":false,"title":"Completed serialization improvements especially around exception handling","user":{"login":"vjkoskela","id":1775197,"avatar_url":"https://avatars.githubusercontent.com/u/1775197?v=3","gravatar_id":"","url":"https://api.github.com/users/vjkoskela","html_url":"https://github.com/vjkoskela","followers_url":"https://api.github.com/users/vjkoskela/followers","following_url":"https://api.github.com/users/vjkoskela/following{/other_user}","gists_url":"https://api.github.com/users/vjkoskela/gists{/gist_id}","starred_url":"https://api.github.com/users/vjkoskela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjkoskela/subscriptions","organizations_url":"https://api.github.com/users/vjkoskela/orgs","repos_url":"https://api.github.com/users/vjkoskela/repos","events_url":"https://api.github.com/users/vjkoskela/events{/privacy}","received_events_url":"https://api.github.com/users/vjkoskela/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-14T08:39:07Z","updated_at":"2015-06-14T17:18:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d64663c1a5349c12909812a86014e67ca8cc5946","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/11/comments","statuses_url":"https://api.github.com/repos/ArpNetworking/logback-steno/statuses/01026906e8373f6ee214834a3b21601ddbb75b12","head":{"label":"ArpNetworking:serialization-improvements","ref":"serialization-improvements","sha":"01026906e8373f6ee214834a3b21601ddbb75b12","user":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"repo":{"id":26342710,"name":"logback-steno","full_name":"ArpNetworking/logback-steno","owner":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ArpNetworking/logback-steno","description":"A logback filter and encoder for outputting steno format log files.","fork":false,"url":"https://api.github.com/repos/ArpNetworking/logback-steno","forks_url":"https://api.github.com/repos/ArpNetworking/logback-steno/forks","keys_url":"https://api.github.com/repos/ArpNetworking/logback-steno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArpNetworking/logback-steno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArpNetworking/logback-steno/teams","hooks_url":"https://api.github.com/repos/ArpNetworking/logback-steno/hooks","issue_events_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/events{/number}","events_url":"https://api.github.com/repos/ArpNetworking/logback-steno/events","assignees_url":"https://api.github.com/repos/ArpNetworking/logback-steno/assignees{/user}","branches_url":"https://api.github.com/repos/ArpNetworking/logback-steno/branches{/branch}","tags_url":"https://api.github.com/repos/ArpNetworking/logback-steno/tags","blobs_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArpNetworking/logback-steno/statuses/{sha}","languages_url":"https://api.github.com/repos/ArpNetworking/logback-steno/languages","stargazers_url":"https://api.github.com/repos/ArpNetworking/logback-steno/stargazers","contributors_url":"https://api.github.com/repos/ArpNetworking/logback-steno/contributors","subscribers_url":"https://api.github.com/repos/ArpNetworking/logback-steno/subscribers","subscription_url":"https://api.github.com/repos/ArpNetworking/logback-steno/subscription","commits_url":"https://api.github.com/repos/ArpNetworking/logback-steno/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArpNetworking/logback-steno/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArpNetworking/logback-steno/contents/{+path}","compare_url":"https://api.github.com/repos/ArpNetworking/logback-steno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArpNetworking/logback-steno/merges","archive_url":"https://api.github.com/repos/ArpNetworking/logback-steno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArpNetworking/logback-steno/downloads","issues_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues{/number}","pulls_url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls{/number}","milestones_url":"https://api.github.com/repos/ArpNetworking/logback-steno/milestones{/number}","notifications_url":"https://api.github.com/repos/ArpNetworking/logback-steno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArpNetworking/logback-steno/labels{/name}","releases_url":"https://api.github.com/repos/ArpNetworking/logback-steno/releases{/id}","created_at":"2014-11-07T23:24:29Z","updated_at":"2015-05-06T17:07:55Z","pushed_at":"2015-06-14T08:39:07Z","git_url":"git://github.com/ArpNetworking/logback-steno.git","ssh_url":"git@github.com:ArpNetworking/logback-steno.git","clone_url":"https://github.com/ArpNetworking/logback-steno.git","svn_url":"https://github.com/ArpNetworking/logback-steno","homepage":"","size":620,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"ArpNetworking:master","ref":"master","sha":"81dfaafe37efd1da60466995a564bf431f38049c","user":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"repo":{"id":26342710,"name":"logback-steno","full_name":"ArpNetworking/logback-steno","owner":{"login":"ArpNetworking","id":7937343,"avatar_url":"https://avatars.githubusercontent.com/u/7937343?v=3","gravatar_id":"","url":"https://api.github.com/users/ArpNetworking","html_url":"https://github.com/ArpNetworking","followers_url":"https://api.github.com/users/ArpNetworking/followers","following_url":"https://api.github.com/users/ArpNetworking/following{/other_user}","gists_url":"https://api.github.com/users/ArpNetworking/gists{/gist_id}","starred_url":"https://api.github.com/users/ArpNetworking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArpNetworking/subscriptions","organizations_url":"https://api.github.com/users/ArpNetworking/orgs","repos_url":"https://api.github.com/users/ArpNetworking/repos","events_url":"https://api.github.com/users/ArpNetworking/events{/privacy}","received_events_url":"https://api.github.com/users/ArpNetworking/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ArpNetworking/logback-steno","description":"A logback filter and encoder for outputting steno format log files.","fork":false,"url":"https://api.github.com/repos/ArpNetworking/logback-steno","forks_url":"https://api.github.com/repos/ArpNetworking/logback-steno/forks","keys_url":"https://api.github.com/repos/ArpNetworking/logback-steno/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArpNetworking/logback-steno/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArpNetworking/logback-steno/teams","hooks_url":"https://api.github.com/repos/ArpNetworking/logback-steno/hooks","issue_events_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/events{/number}","events_url":"https://api.github.com/repos/ArpNetworking/logback-steno/events","assignees_url":"https://api.github.com/repos/ArpNetworking/logback-steno/assignees{/user}","branches_url":"https://api.github.com/repos/ArpNetworking/logback-steno/branches{/branch}","tags_url":"https://api.github.com/repos/ArpNetworking/logback-steno/tags","blobs_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArpNetworking/logback-steno/statuses/{sha}","languages_url":"https://api.github.com/repos/ArpNetworking/logback-steno/languages","stargazers_url":"https://api.github.com/repos/ArpNetworking/logback-steno/stargazers","contributors_url":"https://api.github.com/repos/ArpNetworking/logback-steno/contributors","subscribers_url":"https://api.github.com/repos/ArpNetworking/logback-steno/subscribers","subscription_url":"https://api.github.com/repos/ArpNetworking/logback-steno/subscription","commits_url":"https://api.github.com/repos/ArpNetworking/logback-steno/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArpNetworking/logback-steno/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArpNetworking/logback-steno/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArpNetworking/logback-steno/contents/{+path}","compare_url":"https://api.github.com/repos/ArpNetworking/logback-steno/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArpNetworking/logback-steno/merges","archive_url":"https://api.github.com/repos/ArpNetworking/logback-steno/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArpNetworking/logback-steno/downloads","issues_url":"https://api.github.com/repos/ArpNetworking/logback-steno/issues{/number}","pulls_url":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls{/number}","milestones_url":"https://api.github.com/repos/ArpNetworking/logback-steno/milestones{/number}","notifications_url":"https://api.github.com/repos/ArpNetworking/logback-steno/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArpNetworking/logback-steno/labels{/name}","releases_url":"https://api.github.com/repos/ArpNetworking/logback-steno/releases{/id}","created_at":"2014-11-07T23:24:29Z","updated_at":"2015-05-06T17:07:55Z","pushed_at":"2015-06-14T08:39:07Z","git_url":"git://github.com/ArpNetworking/logback-steno.git","ssh_url":"git@github.com:ArpNetworking/logback-steno.git","clone_url":"https://github.com/ArpNetworking/logback-steno.git","svn_url":"https://github.com/ArpNetworking/logback-steno","homepage":"","size":620,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11"},"html":{"href":"https://github.com/ArpNetworking/logback-steno/pull/11"},"issue":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/11"},"comments":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ArpNetworking/logback-steno/statuses/01026906e8373f6ee214834a3b21601ddbb75b12"}}}}