When running pex, is there a way to redirect the p...
# general
a
When running pex, is there a way to redirect the pip log output to stdout when running pex? sometimes it prints backtracking warnings and would be nice see them on the console.
c
not sure if it’ll include all pip logs.. but there’s a ton of logs to be had at least
e
I think the answer is no. @curved-television-6568 may be right at verbosity 9 level, but IIRC you must use
--preserve-pip-download-log
to get the log retained in a file to look at after the fact.
a
with
PEX_VERBOSE
I have seen the internal pex command that exposed the
--log /path/to/pip.log
which is how i found the problem. however we often run these in an automated environment and a
--pip-log-to-stdout
would be useful.
e
You should file a feature request. This is not as easy as it seems since Pex needs the full verbose Pip log for analysis. There is a Pex log tailer / tee implementation though for groundwork.