We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6633bee commit fe1c470Copy full SHA for fe1c470
src/python/pants/backend/python/util_rules/pex_cli.py
@@ -211,10 +211,10 @@ async def setup_pex_cli_process(
211
def maybe_log_pex_stderr(stderr: bytes, pex_verbosity: int) -> None:
212
"""Forward Pex's stderr to a Pants logger if conditions are met."""
213
log_output = stderr.decode()
214
- if log_output and pex_verbosity > 0:
215
- logger.info("%s", log_output)
216
- elif log_output and "PEXWarning:" in log_output:
+ if log_output and "PEXWarning:" in log_output:
217
logger.warning("%s", log_output)
+ elif log_output and pex_verbosity > 0:
+ logger.info("%s", log_output)
218
219
220
def rules():
0 commit comments