Skip to content

Commit 00e2fdf

Browse files
production log cleanup (#515)
1 parent c570f8e commit 00e2fdf

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ ARG LAUNCHPAD_VERSION_SHA
113113
ENV LAUNCHPAD_VERSION_SHA=$LAUNCHPAD_VERSION_SHA
114114

115115
# Default command
116-
CMD ["launchpad", "serve", "--verbose"]
116+
CMD ["launchpad", "serve"]

src/launchpad/artifacts/apple/zipped_xcarchive.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,10 @@ def generate_ipa(self, output_path: Path):
236236
"zip",
237237
"-r",
238238
"-y",
239+
"-q",
239240
str(output_path),
240241
"Payload",
241-
], # Recursive # Store symlinks as symlinks
242+
],
242243
cwd=temp_dir_path,
243244
check=True,
244245
)

src/launchpad/sentry_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ def download_artifact(self, org: str, project: str, artifact_id: str, out: io.By
206206
if total_size:
207207
total_chunks = (total_size + chunk_size - 1) // chunk_size
208208
progress = (file_size / total_size) * 100
209-
logger.info(
209+
logger.debug(
210210
f"Downloaded chunk {chunk_count}/{total_chunks} - {file_size / MB_DIVISOR:.1f} MB ({progress:.1f}%)"
211211
)
212212
else:
213-
logger.info(f"Downloaded chunk {chunk_count} - {file_size / MB_DIVISOR:.1f} MB")
213+
logger.debug(f"Downloaded chunk {chunk_count} - {file_size / MB_DIVISOR:.1f} MB")
214214

215215
out.flush()
216216
return file_size

src/launchpad/size/utils/apple_bundle_size.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def _zip_metadata_size_for_bundle(bundle_url: Path) -> int:
285285
try:
286286
logger.debug(f"Creating ZIP file: zip -r {zip_file_path} {bundle_name}")
287287
result = subprocess.run(
288-
["zip", "-r", str(zip_file_path), str(bundle_name)],
288+
["zip", "-q", "-r", str(zip_file_path), str(bundle_name)],
289289
shell=False,
290290
capture_output=True,
291291
text=True,

0 commit comments

Comments
 (0)