Use actual logger to record Jenkins home and where it was found

This commit is contained in:
Daniel Beck committed 2019-10-21 10:22:39 +02:00
1 parent 3de4d8faa2
commit 7bc18eeba5
1 file changed
+1 -1
+1 -1
View File
@@ -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())