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.

TIA!

link|improve this question

40% accept rate
Thank you both for your replies! – Ali Nabavi 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
feedback

2 Answers

up vote 3 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

link|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
2  
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
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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