Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does it even log output? In particular, I'm trying to find out how I can recover those messages about, for example, how to use the updated version of Python, or how to use launchd to start a new app by default. I schedule macports updates so I almost always miss these messages because I'm not sitting in front of my computer when the updates occur.


share|improve this question
Thank you both for your replies! – hourback Sep 2 '09 at 0:23
Starting with MacPorts 1.8.2 (it's in trunk for now) there is a logging mechanism. – Nerdling Dec 12 '09 at 0:52
The logging feature Nerdling referred to will be part of MacPorts 1.9 – Raim Apr 13 '10 at 14:05
up vote 5 down vote accepted

Currently MacPorts has no notion of logging of build activities of a given port or sets of ports, however you can pipe the output (stderr and stdout) to a file for later viewing.

port upgrade outdated 2>&1 >> updates.txt

share|improve this answer
Incidentally, you can also use port upgrade outdated &>> updates.txt if that's easier to remember. – Nerdling Oct 10 '09 at 18:33
I recommend using port upgrade outdated 2>&1 | tee updates.txt which prints to both the terminal and to the file. This allows to see progress. – Raim Apr 13 '10 at 13:53

I suggest redirecting the output of your executions of port so that you can review the information at a later time.

A cursory find in /opt/local doesn't bring up anything useful.

share|improve this answer

Your Answer


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.