Skip to content

Commit

Permalink
Update the log output from method 'setupDirectories'.
Browse files Browse the repository at this point in the history
  • Loading branch information
PenghaiZhang committed Nov 3, 2020
1 parent 6068bd7 commit 480648f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,14 @@ private void setupDirectories() throws IOException {
// tomcat daemon etc. That could be a future optimisation if needed.
final File contextDir = new File(tempDir, "context/");
if (!contextDir.mkdir()) {
throw new RuntimeException("Failed to setup context directory: " + tomcatContextPath);
throw new RuntimeException(
"Failed to setup context directory: " + contextDir.getAbsolutePath());
}

LOGGER.info("Using base directory: " + tomcatBasePath);
tomcatBasePath = tempDir.getAbsolutePath();
LOGGER.info("Using context directory: " + tomcatContextPath);
tomcatContextPath = contextDir.getAbsolutePath();

LOGGER.info("Using base directory: " + tomcatBasePath);
LOGGER.info("Using context directory: " + tomcatContextPath);
}
}

0 comments on commit 480648f

Please sign in to comment.