{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2905","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2905/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2905/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2905/events","html_url":"https://github.com/spring-projects/spring-boot/issues/2905","id":72640926,"number":2905,"title":"ApplicationPidFileWriter fails (almost) silently","user":{"login":"pcornelissen","id":1177440,"avatar_url":"https://avatars.githubusercontent.com/u/1177440?v=3","gravatar_id":"","url":"https://api.github.com/users/pcornelissen","html_url":"https://github.com/pcornelissen","followers_url":"https://api.github.com/users/pcornelissen/followers","following_url":"https://api.github.com/users/pcornelissen/following{/other_user}","gists_url":"https://api.github.com/users/pcornelissen/gists{/gist_id}","starred_url":"https://api.github.com/users/pcornelissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcornelissen/subscriptions","organizations_url":"https://api.github.com/users/pcornelissen/orgs","repos_url":"https://api.github.com/users/pcornelissen/repos","events_url":"https://api.github.com/users/pcornelissen/events{/privacy}","received_events_url":"https://api.github.com/users/pcornelissen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/36","html_url":"https://github.com/spring-projects/spring-boot/milestones/1.2.4","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/36/labels","id":1046287,"number":36,"title":"1.2.4","description":"","creator":{"login":"philwebb","id":519772,"avatar_url":"https://avatars.githubusercontent.com/u/519772?v=3","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":28,"state":"open","created_at":"2015-03-31T04:59:32Z","updated_at":"2015-05-05T15:41:16Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-02T12:41:01Z","updated_at":"2015-05-05T15:41:16Z","closed_at":"2015-05-05T15:41:16Z","body":"I am including the ApplicationPidFileWriter in my app and managed to misconfigure the spring.pidfile property. \r\nOn the start if my app it just stated that it is not able to create the pid file, but there is no way to find out what. I had to copy the class and add the exception to the log statement to find out what way wrong.\r\n \r\nIt's unfortunate that the catch in onApplicationEvent does not provide any information on why it went wrong. But at least it would be good to have a debug log statement that reveals the exception. "}}