Skip to content

Commit

Permalink
Filter excessive logging of artifact download from m2e in "debug mode"
Browse files Browse the repository at this point in the history
Signed-off-by: Roland Grunberg <[email protected]>
  • Loading branch information
rgrunber committed Jan 5, 2024
1 parent 01e4bee commit 222f3fa
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ public ExecutionStatus configure(LoggerContext lc) {
httpLogger.setLevel(Level.INFO);
httpLogger.setAdditive(false);

httpLogger = lc.getLogger("org.apache.http");
httpLogger.setLevel(Level.INFO);
httpLogger.setAdditive(false);

Logger classFileLogger = lc.getLogger("aQute.bnd.osgi.Clazz");
classFileLogger.setLevel(Level.INFO);
classFileLogger.setAdditive(false);

Logger defMavenFilter = lc.getLogger("org.apache.maven.shared.filtering.DefaultMavenFileFilter");
Logger defMavenFilter = lc.getLogger("org.apache.maven.shared.filtering");
defMavenFilter.setLevel(Level.INFO);
defMavenFilter.setAdditive(false);
}
Expand Down

0 comments on commit 222f3fa

Please sign in to comment.