Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Does homebrew keep logs, and if so where?

I did a brew update which broke python support in macvim, and now I can't even get macvim to build. I'm hoping that there are some clues in the log.

share|improve this question
add comment

2 Answers 2

up vote 9 down vote accepted

~/Library/Logs/Homebrew/

Homebrew creates log files in your Library folder at: ~/Library/Logs/Homebrew/

You can view the log files by holding down Option and using the Finder menu item: Go > Library, then navigating to Logs > Homebrew.

Alternatively, you can use the Console.app application to browse to the log files.

Homebrew History

The default creation of individual log files was added during 2013 to Homebrew.

Homebrew issue #10430 talks about logging and build errors. The issue report mentions no log file is kept but explains that a log can be created with the command format:

brew install <formula> 2>&1 | tee install.log
share|improve this answer
add comment

Logs seem to be in ~/Library/Logs/Homebrew/... They can be viewed either using command line utilities or the Console app.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.