{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4062","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4062/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4062/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4062/events","html_url":"https://github.com/spring-projects/spring-boot/issues/4062","id":109104897,"number":4062,"title":"Clarify documentation of whether spring.config.location replaces or augments the default search path","user":{"login":"tomwhoiscontrary","id":539012,"avatar_url":"https://avatars.githubusercontent.com/u/539012?v=3","gravatar_id":"","url":"https://api.github.com/users/tomwhoiscontrary","html_url":"https://github.com/tomwhoiscontrary","followers_url":"https://api.github.com/users/tomwhoiscontrary/followers","following_url":"https://api.github.com/users/tomwhoiscontrary/following{/other_user}","gists_url":"https://api.github.com/users/tomwhoiscontrary/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwhoiscontrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwhoiscontrary/subscriptions","organizations_url":"https://api.github.com/users/tomwhoiscontrary/orgs","repos_url":"https://api.github.com/users/tomwhoiscontrary/repos","events_url":"https://api.github.com/users/tomwhoiscontrary/events{/privacy}","received_events_url":"https://api.github.com/users/tomwhoiscontrary/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-30T14:33:42Z","updated_at":"2015-09-30T16:15:46Z","closed_at":"2015-09-30T16:15:46Z","body":"In [the fine manual](http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-application-property-files), we read that (emphasis mine):\r\n\r\n> If spring.config.location contains directories (as opposed to files) they should end in / (and will be appended with the names generated from spring.config.name before being loaded). **The default search path classpath:,classpath:/config,file:,file:config/ is always used, irrespective of the value of spring.config.location.** In that way you can set up default values for your application in application.properties (or whatever other basename you choose with spring.config.name) and override it at runtime with a different file, keeping the defaults.\r\n\r\nHowever, @snicoll ventured the opinion that in fact, spring.config.location entirely replaces the default search path. If this is the case, could the documentation be corrected?"}}