Skip to content

Commit ea97644

Browse files
authored
Reduce log noise (#1313)
1 parent 092eed6 commit ea97644

File tree

1 file changed

+6
-6
lines changed
  • maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command

1 file changed

+6
-6
lines changed

maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ private static void composeCommand(File workingDirectory, String command, Comman
140140
public static int execute(
141141
Commandline commandline, StreamConsumer consumer, CommandLineUtils.StringStreamConsumer stderr)
142142
throws ScmException {
143-
if (LOGGER.isInfoEnabled()) {
144-
LOGGER.info("Executing: " + commandline);
145-
LOGGER.info(
143+
if (LOGGER.isDebugEnabled()) {
144+
LOGGER.debug("Executing: " + commandline);
145+
LOGGER.debug(
146146
"Working directory: " + commandline.getWorkingDirectory().getAbsolutePath());
147147
}
148148

@@ -161,9 +161,9 @@ public static int execute(
161161
CommandLineUtils.StringStreamConsumer stdout,
162162
CommandLineUtils.StringStreamConsumer stderr)
163163
throws ScmException {
164-
if (LOGGER.isInfoEnabled()) {
165-
LOGGER.info("Executing: " + commandLine);
166-
LOGGER.info(
164+
if (LOGGER.isDebugEnabled()) {
165+
LOGGER.debug("Executing: " + commandLine);
166+
LOGGER.debug(
167167
"Working directory: " + commandLine.getWorkingDirectory().getAbsolutePath());
168168
}
169169

0 commit comments

Comments
 (0)