Skip to content

Commit

Permalink
[SUREFIRE-2182] Log starter implementation on DEBUG level (#665)
Browse files Browse the repository at this point in the history
For fork starter log the underlying configuration class name as well
  • Loading branch information
kwin committed Jun 22, 2023
1 parent 0998f10 commit 49e6607
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ private RunResult executeProvider(
(Properties) System.getProperties().clone();
try {
createCopyAndReplaceForkNumPlaceholder(effectiveProperties, 1).copyToSystemProperties();

getConsoleLogger().debug("Using in-process starter");
InPluginVMSurefireStarter surefireStarter = createInprocessStarter(
provider,
classLoaderConfiguration,
Expand All @@ -1181,6 +1181,9 @@ private RunResult executeProvider(
} else {
ForkConfiguration forkConfiguration = createForkConfiguration(platform, resolvedJavaModularityResult);
if (getConsoleLogger().isDebugEnabled()) {
getConsoleLogger()
.debug("Using fork starter with configuration implementation "
+ forkConfiguration.getClass().getName());
showMap(getEnvironmentVariables(), "environment variable");
showArray(getExcludedEnvironmentVariables(), "excluded environment variable");
}
Expand Down

0 comments on commit 49e6607

Please sign in to comment.