{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-java/issues/130","labels_url":"https://api.github.com/repos/getsentry/raven-java/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-java/issues/130/comments","events_url":"https://api.github.com/repos/getsentry/raven-java/issues/130/events","html_url":"https://github.com/getsentry/raven-java/pull/130","id":58712683,"number":130,"title":"allow to use custom EventBuilder","user":{"login":"stephanos","id":159852,"avatar_url":"https://avatars.githubusercontent.com/u/159852?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanos","html_url":"https://github.com/stephanos","followers_url":"https://api.github.com/users/stephanos/followers","following_url":"https://api.github.com/users/stephanos/following{/other_user}","gists_url":"https://api.github.com/users/stephanos/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanos/subscriptions","organizations_url":"https://api.github.com/users/stephanos/orgs","repos_url":"https://api.github.com/users/stephanos/repos","events_url":"https://api.github.com/users/stephanos/events{/privacy}","received_events_url":"https://api.github.com/users/stephanos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-24T09:25:44Z","updated_at":"2015-02-24T14:13:02Z","closed_at":"2015-02-24T14:13:02Z","pull_request":{"url":"https://api.github.com/repos/getsentry/raven-java/pulls/130","html_url":"https://github.com/getsentry/raven-java/pull/130","diff_url":"https://github.com/getsentry/raven-java/pull/130.diff","patch_url":"https://github.com/getsentry/raven-java/pull/130.patch"},"body":"We are running on App Engine and have a problem with the default EventBuilder implementation. It is polluting our logs:\r\n\r\n```\r\nEventBuilder.HostnameCache updateCache: Localhost hostname lookup failed, keeping the value 'unavailable'\r\njava.security.AccessControlException: access denied (\"java.lang.RuntimePermission\" \"modifyThreadGroup\")\r\n\tat java.security.AccessControlContext.checkPermission(AccessControlContext.java:375)\r\n\tat java.security.AccessController.checkPermission(AccessController.java:565)\r\n\tat java.lang.SecurityManager.checkPermission(SecurityManager.java:549)\r\n\tat com.google.apphosting.runtime.security.CustomSecurityManager.checkPermission(CustomSecurityManager.java:56)\r\n\tat com.google.apphosting.runtime.security.CustomSecurityManager.checkAccess(CustomSecurityManager.java:131)\r\n\tat java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315)\r\n\tat java.lang.Thread.init(Thread.java:378)\r\n\tat java.lang.Thread.<init>(Thread.java:448)\r\n\tat net.kencochrane.raven.event.EventBuilder$HostnameCache.updateCache(EventBuilder.java:354)\r\n\tat net.kencochrane.raven.event.EventBuilder$HostnameCache.getHostname(EventBuilder.java:342)\r\n\tat net.kencochrane.raven.event.EventBuilder.autoSetMissingValues(EventBuilder.java:88)\r\n\tat net.kencochrane.raven.event.EventBuilder.build(EventBuilder.java:286)\r\n\tat net.kencochrane.raven.logback.SentryAppender.buildEvent(SentryAppender.java:199)```\r\n\r\nSo we would like to use a custom EventBuilder that ignores the hostname lookup. This change would allow us to do just that."},"comment":{"url":"https://api.github.com/repos/getsentry/raven-java/issues/comments/75762503","html_url":"https://github.com/getsentry/raven-java/pull/130#issuecomment-75762503","issue_url":"https://api.github.com/repos/getsentry/raven-java/issues/130","id":75762503,"user":{"login":"stephanos","id":159852,"avatar_url":"https://avatars.githubusercontent.com/u/159852?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanos","html_url":"https://github.com/stephanos","followers_url":"https://api.github.com/users/stephanos/followers","following_url":"https://api.github.com/users/stephanos/following{/other_user}","gists_url":"https://api.github.com/users/stephanos/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanos/subscriptions","organizations_url":"https://api.github.com/users/stephanos/orgs","repos_url":"https://api.github.com/users/stephanos/repos","events_url":"https://api.github.com/users/stephanos/events{/privacy}","received_events_url":"https://api.github.com/users/stephanos/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T14:13:02Z","updated_at":"2015-02-24T14:13:02Z","body":"Ah, dammit. `getHostname` is from `HostnameCache` and not `EventBuilder`. Sorry, my bad. Ignore this :)"}}