{"action":"closed","issue":{"url":"https://api.github.com/repos/kemitix/spring-common/issues/1","labels_url":"https://api.github.com/repos/kemitix/spring-common/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kemitix/spring-common/issues/1/comments","events_url":"https://api.github.com/repos/kemitix/spring-common/issues/1/events","html_url":"https://github.com/kemitix/spring-common/issues/1","id":60666845,"number":1,"title":"PropertyLogger can't access protected fields on classes in different package","user":{"login":"kemitix","id":1147749,"avatar_url":"https://avatars.githubusercontent.com/u/1147749?v=3","gravatar_id":"","url":"https://api.github.com/users/kemitix","html_url":"https://github.com/kemitix","followers_url":"https://api.github.com/users/kemitix/followers","following_url":"https://api.github.com/users/kemitix/following{/other_user}","gists_url":"https://api.github.com/users/kemitix/gists{/gist_id}","starred_url":"https://api.github.com/users/kemitix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemitix/subscriptions","organizations_url":"https://api.github.com/users/kemitix/orgs","repos_url":"https://api.github.com/users/kemitix/repos","events_url":"https://api.github.com/users/kemitix/events{/privacy}","received_events_url":"https://api.github.com/users/kemitix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kemitix/spring-common/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"kemitix","id":1147749,"avatar_url":"https://avatars.githubusercontent.com/u/1147749?v=3","gravatar_id":"","url":"https://api.github.com/users/kemitix","html_url":"https://github.com/kemitix","followers_url":"https://api.github.com/users/kemitix/followers","following_url":"https://api.github.com/users/kemitix/following{/other_user}","gists_url":"https://api.github.com/users/kemitix/gists{/gist_id}","starred_url":"https://api.github.com/users/kemitix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemitix/subscriptions","organizations_url":"https://api.github.com/users/kemitix/orgs","repos_url":"https://api.github.com/users/kemitix/repos","events_url":"https://api.github.com/users/kemitix/events{/privacy}","received_events_url":"https://api.github.com/users/kemitix/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/kemitix/spring-common/milestones/1","html_url":"https://github.com/kemitix/spring-common/milestones/0.1.x","labels_url":"https://api.github.com/repos/kemitix/spring-common/milestones/1/labels","id":1016525,"number":1,"title":"0.1.x","description":null,"creator":{"login":"kemitix","id":1147749,"avatar_url":"https://avatars.githubusercontent.com/u/1147749?v=3","gravatar_id":"","url":"https://api.github.com/users/kemitix","html_url":"https://github.com/kemitix","followers_url":"https://api.github.com/users/kemitix/followers","following_url":"https://api.github.com/users/kemitix/following{/other_user}","gists_url":"https://api.github.com/users/kemitix/gists{/gist_id}","starred_url":"https://api.github.com/users/kemitix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemitix/subscriptions","organizations_url":"https://api.github.com/users/kemitix/orgs","repos_url":"https://api.github.com/users/kemitix/repos","events_url":"https://api.github.com/users/kemitix/events{/privacy}","received_events_url":"https://api.github.com/users/kemitix/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-03-11T14:27:56Z","updated_at":"2015-03-11T22:01:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-11T14:29:45Z","updated_at":"2015-03-11T22:01:48Z","closed_at":"2015-03-11T22:01:48Z","body":"When originally built this class was in the same package as the classes it was reporting in. Now that it is part of this library it is no longer in the same package and thus can't access the protected fields.\r\n\r\nOptions:\r\n\r\n1. require that fields be public in order to be logged -- imposing bad design upon others\r\n2. switch to using get*() methods  -- how to filter out password and other sensitive fields?\r\n3. require a proxy class be implemented within the target package that provides access to the protected fields"}}