-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Pip lies about log location #350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't know why there's a --log and a separate --log-file. When pip prints "Storing complete log to..." it uses the value specified by --log-file which defaults to ~/.pip/pip.log. If a different primary log is specified with --log, the default value for --log-file is not updated. It seems to me that this is all more confusing than it needs to be. Just make --log-file an alias for --log. |
I did what @iguananaut said in the 2nd commit of my pull request [1]. The issue of writing to the closed log file is still present. [1] #580 |
closing as
|
for anyone who comes to this, let me reply specifically to some of the original description:
regardless of using So in the case of using
It does work, but currently only logs to that when there's problems, and it's not append. |
When using the
--log
option, Pip saves to the right location, but claims the log is being written to~/.pip/pip.log
, which it isn't. (The undocumented--log-file
option does nothing either.)Pip then throws an exception, but that's issue #219.
The text was updated successfully, but these errors were encountered: