Skip to content

Commit 974dc7f

Browse files
authored
Merge pull request #938 from quickfix-j/chrjohn-pruner-logging
reduced logging in `ClassPrunerMojo`
2 parents 8451511 + 81608fb commit 974dc7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

quickfixj-class-pruner-maven-plugin/src/main/java/org/quickfixj/ClassPrunerMojo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void execute()
8080
}
8181

8282
if (null == fileset) {
83-
String errorMsg = "filset must not be null.";
83+
String errorMsg = "fileset must not be null.";
8484
this.getLog().error(errorMsg);
8585
throw new MojoExecutionException( errorMsg );
8686
}
@@ -115,7 +115,7 @@ private void prune(Set<String> fieldNames, File targetDirectory, String fileSuff
115115
Collections.sort(fileList);
116116
this.getLog().info(descriptor + "s to delete : " + fileList.size());
117117
for (String fileName : fileList) {
118-
this.getLog().info("Deleting " + descriptor + " : " + fileName);
118+
this.getLog().debug("Deleting " + descriptor + " : " + fileName);
119119
File file = new File( targetDirectory, fileName );
120120
Files.delete(file.toPath());
121121
}
@@ -163,7 +163,7 @@ private void collectFieldNames(Set<String> fieldNames) throws MojoExecutionExcep
163163
List<String> fieldList = new ArrayList<String>(fieldNames);
164164
Collections.sort(fieldList);
165165
for (String fieldName : fieldList) {
166-
this.getLog().info("Found field : " + fieldName);
166+
this.getLog().debug("Found field : " + fieldName);
167167
}
168168
this.getLog().info("Found field total : " + fieldList.size());
169169
}

0 commit comments

Comments
 (0)