From 80f424ada61d1ce4cf6ec86eb2c08664c7c212ba Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sun, 16 Oct 2022 09:26:25 +0200 Subject: [PATCH] Remove redundant logs in info level --- .../java/org/codehaus/mojo/versions/utils/SegmentUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/codehaus/mojo/versions/utils/SegmentUtils.java b/src/main/java/org/codehaus/mojo/versions/utils/SegmentUtils.java index 6d4d21c46..8b262ecf9 100644 --- a/src/main/java/org/codehaus/mojo/versions/utils/SegmentUtils.java +++ b/src/main/java/org/codehaus/mojo/versions/utils/SegmentUtils.java @@ -84,9 +84,9 @@ public static Optional determineUnchangedSegment( boolean allowMajorUpd : allowIncrementalUpdates ? of( MINOR ) : of( INCREMENTAL ); - if ( log != null && log.isInfoEnabled() ) + if ( log != null && log.isDebugEnabled() ) { - log.info( + log.debug( unchangedSegment.map( s -> Segment.of( s.value() + 1 ).toString() ) .orElse( "ALL" ) + " version changes allowed" ); }