Tone down smart builder logging

This commit is contained in:
Guillaume Nodet
2020-10-14 20:28:01 +02:00
parent c4ec6c1d51
commit 7f902fe0d2
3 changed files with 5 additions and 6 deletions

View File

@@ -181,7 +181,7 @@ public class SmartBuilder implements Builder {
ReactorBuildStats stats = entry.getValue();
Set<MavenProject> projects = projectBuilds.getByTaskSegment(taskSegment).getProjects();
logger.info("Task segment {}, number of projects {}", taskSegment, projects.size());
logger.debug("Task segment {}, number of projects {}", taskSegment, projects.size());
final long walltimeReactor = stats.walltimeTime(TimeUnit.NANOSECONDS);
final long walltimeService = stats.totalServiceTime(TimeUnit.NANOSECONDS);

View File

@@ -135,7 +135,7 @@ class SmartBuilderImpl {
.map(SmartBuilderImpl::projectGA)
.collect(Collectors.joining(" ", "[", "]"));
}
logger.info("Builder state: blocked={} finished={} ready-or-running={} {}", blockedCount,
logger.debug("Builder state: blocked={} finished={} ready-or-running={} {}", blockedCount,
finishedCount, readyCount, runningProjects);
}
@@ -150,7 +150,7 @@ class SmartBuilderImpl {
logger.warn("Unexpected project build summary class {}", buildSummary.getClass());
message = "UNKNOWN";
}
logger.info("{} build of project {}", message, projectGA(project));
logger.debug("{} build of project {}", message, projectGA(project));
}
private void shutdown() {
@@ -167,7 +167,7 @@ class SmartBuilderImpl {
}
/* package */void buildProject(MavenProject project) {
logger.info("STARTED build of project {}", projectGA(project));
logger.debug("STARTED build of project {}", projectGA(project));
try {
MavenSession copiedSession = rootSession.clone();

View File

@@ -65,8 +65,7 @@ public class SingleModuleNativeIT {
inOrder.verify(o).accept(any(), Mockito.contains(MvndTestUtil.plugin(props, "maven-compiler-plugin") + ":testCompile"));
inOrder.verify(o).accept(any(), Mockito.contains(MvndTestUtil.plugin(props, "maven-surefire-plugin") + ":test"));
inOrder.verify(o).accept(any(), Mockito.contains(MvndTestUtil.plugin(props, "maven-install-plugin") + ":install"));
inOrder.verify(o).accept(any(),
Mockito.contains("SUCCESS build of project org.jboss.fuse.mvnd.test.single-module:single-module"));
inOrder.verify(o).accept(any(), Mockito.contains("BUILD SUCCESS"));
assertJVM(o, props);