Use actual logger to record Jenkins home and where it was found
@@ -130,7 +130,7 @@ public class WebAppMain implements ServletContextListener {
final FileAndDescription describedHomeDir = getHomeDir(event);
home = describedHomeDir.file.getAbsoluteFile();
home.mkdirs();
- System.out.println("Jenkins home directory: "+home+" found at: "+describedHomeDir.description);
+ LOGGER.info("Jenkins home directory: "+ home +" found at: " + describedHomeDir.description);
// check that home exists (as mkdirs could have failed silently), otherwise throw a meaningful error
if (!home.exists())
