diff --git a/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java index 0fdb02b484..a1a2f5e797 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2014 the original author or authors. + * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -392,7 +392,7 @@ public class ConfigFileApplicationListener implements msg.append("config file "); msg.append("'").append(location).append("'"); if (StringUtils.hasLength(profile)) { - msg.append(" for profile" + profile); + msg.append(" for profile ").append(profile); } if (resource == null || !resource.exists()) { msg.append(" resource not found");