apache / apache/maven-scm

[SCM-1026] Decrease git logging

Open
#1,250 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
104
Forks
189
Avg merge
17h 46m
Merged PRs (30d)
6

Description

**[Elliotte Rusty Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)** opened **[SCM-1026](https://issues.apache.org/jira/browse/SCM-1026?redirect=false)** and commented

In GitCommandLineUtils a lot of logs like

if (LOGGER.isInfoEnabled()) {
LOGGER.info("Executing: " + commandline);
LOGGER.info("Working directory: " + commandline.getWorkingDirectory().getAbsolutePath());
}

should be demoted to debug. As long as it works, we don't want to read each step.

---
No further details from [SCM-1026](https://issues.apache.org/jira/browse/SCM-1026?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect GitCommandLineUtils and its existing logging calls, starting with the execution and working-directory messages shown in the issue. Demote the routine messages from info to debug, then run the relevant project tests or test suite and confirm normal Git operations no longer produce these messages at info level.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, java
Domain
tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.