installation log file

Bryan Blackburn blb at macports.org
Sat Sep 17 13:54:18 PDT 2011


On Sat, Sep 17, 2011 at 11:20:18AM -0500, Mr. Puneet Kishor said:
> 
> On Sep 17, 2011, at 11:18 AM, Mr. Puneet Kishor wrote:
> 
> > Does macports keep a log file of all the installs? I am trying to keep a record of all the installs, including what worked and what didn't (and the work around), but am wondering if I am duplicating something the macports does anyway.
> > 
> > I don't see anything at /opt/local/var/macports/logs (other than a few individual port logs), and I see the following question at serverfault from a couple of years ago with no conclusive resolution [http://serverfault.com/questions/57672/where-does-macports-log-its-stdout]
> 
> 
> I take that back. The above linked thread on serverfault does have a comment to the effect, "The logging feature Nerdling referred to will be part of MacPorts 1.9". Since I am using MacPort 2.0.3, could I find out where the said logging feature might be writing its logs?

Logs created from a successful install are by default cleared out; if you
want to keep them in all cases, you can set 'keeplogs yes' in your
${prefix}/etc/macports/macports.conf file.  Otherwise, failed builds should
be the only logs that stay (unless you've run clean on the port).

Bryan



More information about the macports-users mailing list