mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Use actual logger to record Jenkins home and where it was found
This commit is contained in:
1 parent
3de4d8faa2
commit
7bc18eeba5
1 file changed
+1
-1
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user