Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit cb3459c

Browse files
fix: clean the logs
1 parent bfa550c commit cb3459c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

codecov_cli/helpers/folder_searcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ def globs_to_regex(patterns: List[str]) -> Optional[Pattern]:
117117
regex_patterns = []
118118
for pattern in patterns:
119119
regex_pattern = translate(pattern, recursive=True, include_hidden=True)
120-
logger.debug(f"Translating `{pattern}` into `{regex_pattern}`")
120+
# logger.debug(f"Translating `{pattern}` into `{regex_pattern}`")
121121
regex_patterns.append(regex_pattern)
122122
return re.compile("|".join(regex_patterns))

codecov_cli/services/upload/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def do_upload_logic(
165165
status_code=200,
166166
text="Data NOT sent to Codecov because of dry-run option",
167167
)
168-
logger.debug(f"Network Files Sample: {upload_data.network[:100]}")
168+
logger.debug(f"Network Files Sample: {upload_data.network[0:10]}")
169169
logger.debug(f"Total network files: {len(upload_data.network)}")
170170
with open('coverage_report.txt', 'w+') as f:
171171
f.write('\n'.join(upload_data.network))

codecov_cli/services/upload/network_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def find_files(self, ignore_filters=False) -> typing.List[str]:
3131
"NetworkFinder.find_files",
3232
extra=dict(
3333
extra_log_attributes=dict(
34-
files=files,
34+
len_files=len(files),
3535
ignore_filters=ignore_filters,
3636
network_root_folder=self.network_root_folder,
3737
recurse_submodules=self.recurse_submodules,

0 commit comments

Comments
 (0)