mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-23 04:24:54 +00:00
Tone down smart builder logging
This commit is contained in:
@@ -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);
|
||||
|
@@ -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();
|
||||
|
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user