Skip to content

Commit 6bea1bb

Browse files
authored
Merge pull request #149 from ligangty/main
Chore: ignore pom scan logging
2 parents e11b55e + 9016a59 commit 6bea1bb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

charon/pkgs/maven.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,6 @@ def _scan_paths(files_root: str, ignore_patterns: List[str],
620620
valid_mvn_paths.append(path)
621621

622622
if name.strip().endswith(".pom"):
623-
logger.debug("Found pom %s", name)
624623
valid_poms.append(path)
625624
else:
626625
non_mvn_paths.append(path)

charon/pkgs/pkg_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ def __post_process(
4040
):
4141
if len(failed_files) == 0 and len(failed_metas) == 0:
4242
logger.info("Product release %s is successfully %s "
43-
"Ronda service in bucket %s",
43+
"Ronda service in bucket %s\n",
4444
product_key, operation, bucket)
4545
else:
4646
total = len(failed_files) + len(failed_metas)
4747
logger.error("%d file(s) occur errors/warnings in bucket %s, "
48-
"please see errors.log for details.",
48+
"please see errors.log for details.\n",
4949
bucket, total)
5050
logger.error("Product release %s is %s Ronda service in bucket %s, "
5151
"but has some failures as below:",
5252
product_key, operation, bucket)
5353
if len(failed_files) > 0:
54-
logger.error("Failed files: \n%s",
54+
logger.error("Failed files: \n%s\n",
5555
failed_files)
5656
if len(failed_metas) > 0:
57-
logger.error("Failed metadata files: \n%s",
57+
logger.error("Failed metadata files: \n%s\n",
5858
failed_metas)

0 commit comments

Comments
 (0)