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

Log to ~/Library/Logs/ on Mac OS X #182

Closed
vbabiy opened this Issue Mar 15, 2011 · 5 comments

Comments

Projects
None yet
2 participants
@vbabiy
Contributor

vbabiy commented Mar 15, 2011

Hi,

OS X comes with a log viewer, Console.app, that looks for logs in ~/Library/Logs/, /Library/Logs/, and /var/log/ by default. It would be nice if pip logged to one of these directories, rather than its own ad-hoc ~/.pip/pip.log in tip.

http://bitbucket.org/callahad/pip/changeset/7d86ca32703b is a simple change to address this for framework installs. I'll leave it up to the discretion of the maintainers as to whether or not the scope should be expanded to all uses of pip on Mac OS X.

Thanks,

-Dan


@vbabiy

This comment has been minimized.

Show comment
Hide comment
@vbabiy

vbabiy Mar 15, 2011

Contributor

Also, it might be worth noting that the folks behind Homebrew, a popular OS X
package manager, are already patching this themselves:
http://github.com/mxcl/homebrew/blob/master/Library/Formula/pip.rb

It might be nice to move it upstream. :)


Original Comment By: Dan Callahan
Contributor

vbabiy commented Mar 15, 2011

Also, it might be worth noting that the folks behind Homebrew, a popular OS X
package manager, are already patching this themselves:
http://github.com/mxcl/homebrew/blob/master/Library/Formula/pip.rb

It might be nice to move it upstream. :)


Original Comment By: Dan Callahan
@vbabiy

This comment has been minimized.

Show comment
Hide comment
@vbabiy

vbabiy Mar 15, 2011

Contributor

This patch now lives at http://bitbucket.org/callahad/pip/src/tip/log-to-
library


Original Comment By: Dan Callahan
Contributor

vbabiy commented Mar 15, 2011

This patch now lives at http://bitbucket.org/callahad/pip/src/tip/log-to-
library


Original Comment By: Dan Callahan
@vbabiy

This comment has been minimized.

Show comment
Hide comment
@vbabiy

vbabiy Mar 15, 2011

Contributor

.. and also worth following XDG on Linux as well. See also user_log_dir in
http://github.com/ActiveState/appdirs#readme


Original Comment By: Sridhar Ratnakumar
Contributor

vbabiy commented Mar 15, 2011

.. and also worth following XDG on Linux as well. See also user_log_dir in
http://github.com/ActiveState/appdirs#readme


Original Comment By: Sridhar Ratnakumar
@vbabiy

This comment has been minimized.

Show comment
Hide comment
@vbabiy

vbabiy Mar 15, 2011

Contributor

Issue #171 was marked as a duplicate of this issue.


Original Comment By: Sridhar Ratnakumar
Contributor

vbabiy commented Mar 15, 2011

Issue #171 was marked as a duplicate of this issue.


Original Comment By: Sridhar Ratnakumar
@carljm

This comment has been minimized.

Show comment
Hide comment
@carljm

carljm Dec 12, 2011

Contributor

Fixed in 3b320cb, thanks Dan (much belatedly) for the patch.

Contributor

carljm commented Dec 12, 2011

Fixed in 3b320cb, thanks Dan (much belatedly) for the patch.

@carljm carljm closed this Dec 12, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment