Skip to content

Commit 4d5ccc5

Browse files
🎨 Change to debug level logging (#174)
* update workflow before publishing python package fix dependency issue and bump version point to website in project description fix broken dependency improve doc add github token to download artifacts ensure only read-access @wvangeit yet another attempt at downloading artifacts make sure to use repo that ran the trigger wf another attempt at fixing change owner allow publishing to testpypi also when pr minor change revert minor (but breaking) change minor fix add debug messages another debug message hopefully the final version final fix minor fix move master and tag to individual jobs add debug messages add python script for determining semantic version minor changes minor changes improve error handling and add version file to artifacts check if release minor fix ensure to enter venv also when tagging source venv in publishin workflow ensure only master add script for testing 'pure' semver adapt workflows to new python script minor change attempt to evaluate expressions correctly several fixes to fix tests ensure repo is checked out in publish workflow several small fixes cleanup debug minor cleanup mionr changes add debug message minor change minor change yet another try minor change minor change minor change mionr change minor changes correct workflow run id cosmetic change avoid using gh change to a single job for publishing minor cleanup swap loops in clean up jobs correction get correct versions of github workflow files update a couple of other files update a few more tests update yet another file yet another file * INFO -> DEBUG logging
1 parent 51af1dd commit 4d5ccc5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎clients/python/client/osparc/_files_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ async def upload_file_async(
125125
configuration=self.api_client.configuration, timeout=timeout_seconds
126126
) as session:
127127
with logging_redirect_tqdm():
128-
_logger.info("Uploading %s in %i chunk(s)", file.name, n_urls)
128+
_logger.debug("Uploading %s in %i chunk(s)", file.name, n_urls)
129129
async for chunck, size in tqdm(
130130
file_chunk_generator(file, chunk_size),
131131
total=n_urls,
132-
disable=(not _logger.isEnabledFor(logging.INFO)),
132+
disable=(not _logger.isEnabledFor(logging.DEBUG)),
133133
):
134134
index, url = next(url_iter)
135135
uploaded_parts.append(
@@ -155,7 +155,7 @@ async def upload_file_async(
155155
auth=self._auth,
156156
timeout=timeout_seconds,
157157
) as session:
158-
_logger.info(
158+
_logger.debug(
159159
(
160160
"Completing upload of %s "
161161
"(this might take a couple of minutes)..."
@@ -165,7 +165,7 @@ async def upload_file_async(
165165
server_file: File = await self._complete_multipart_upload(
166166
session, links.complete_upload, client_file, uploaded_parts
167167
)
168-
_logger.info("File upload complete: %s", file.name)
168+
_logger.debug("File upload complete: %s", file.name)
169169
return server_file
170170

171171
async def _complete_multipart_upload(

‎clients/python/client/osparc/_studies_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ async def _download(unique_node_name: str, download_link: str) -> None:
124124
asyncio.create_task(_download(link.node_name, link.download_link))
125125
for link in log_links
126126
]
127-
_logger.info(
127+
_logger.debug(
128128
"Downloading log files for study_id=%s and job_id=%s...",
129129
study_id,
130130
job_id,
131131
)
132132
await tqdm_asyncio.gather(
133-
*tasks, disable=(not _logger.isEnabledFor(logging.INFO))
133+
*tasks, disable=(not _logger.isEnabledFor(logging.DEBUG))
134134
)
135135

136136
return folder

0 commit comments

Comments
 (0)