[124484] trunk/base/doc

cal at macports.org cal at macports.org
Sun Aug 24 15:12:02 PDT 2014


Revision: 124484
          https://trac.macports.org/changeset/124484
Author:   cal at macports.org
Date:     2014-08-24 15:12:02 -0700 (Sun, 24 Aug 2014)
Log Message:
-----------
base: document port log{,file}

Added Paths:
-----------
    trunk/base/doc/port-log.1.txt
    trunk/base/doc/port-logfile.1.soelim

Copied: trunk/base/doc/port-log.1.txt (from rev 124479, trunk/base/doc/port-cat.1.txt)
===================================================================
--- trunk/base/doc/port-log.1.txt	                        (rev 0)
+++ trunk/base/doc/port-log.1.txt	2014-08-24 22:12:02 UTC (rev 124484)
@@ -0,0 +1,68 @@
+// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
+port-cat(1)
+===========
+$Id$
+
+NAME
+----
+port-log, port-logfile - Print contents or path of a port's log file
+
+SYNOPSIS
+--------
+[cmdsynopsis]
+*port* [*-D* 'portdir'] *log*
+     [--level [error | warn | msg | info | debug]]
+     [--phase [fetch | checksum | extract | patch | configure | build | destroot]]
+     [['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
+
+[cmdsynopsis]
+*port* [*-D* 'portdir'] *logfile*
+     [['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
+
+DESCRIPTION
+-----------
+*port log* prints and optionally filters the contents of the log file for the
+installation of the given port. The file can be filtered by log message level
+and installation phase.
+
+*port logfile* prints the path to the log file for the last installation of the
+given port. This is helpful to locate the file to attach when reporting bugs
+against ports in MacPorts' issue tracker.
+
+OPTIONS
+-------
+*port logfile* has no options. *port log* has the following options:
+
+*--level SEVERITY*::
+    Hide all messages below the given severity, which is one of
+
+    error:::
+        for error messages
+
+    warn:::
+        for warnings
+
+    msg:::
+        for standard MacPorts output
+
+    info:::
+        for output shown in verbose mode
+
+    debug:::
+        for all output including debugging messages
+
+*--phase PHASE*::
+    Only print messages that were generated in the given installation phase,
+    where possible values for *PHASE* include 'fetch', 'checksum', 'extract',
+    'patch', 'configure', 'build', and 'destroot'. Note that you can specify an
+    arbitrary value which will be used in a regular expression to filter the log
+    file.
+
+SEE ALSO
+--------
+man:port[1], man:port-install[1], man:port-clean[1]
+
+AUTHORS
+-------
+ (C) 2014 The MacPorts Project
+ Clemens Lang <cal at macports.org>

Added: trunk/base/doc/port-logfile.1.soelim
===================================================================
--- trunk/base/doc/port-logfile.1.soelim	                        (rev 0)
+++ trunk/base/doc/port-logfile.1.soelim	2014-08-24 22:12:02 UTC (rev 124484)
@@ -0,0 +1 @@
+.so man1/port-log.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140824/855a9fec/attachment.html>


More information about the macports-changes mailing list