[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Logging errors with portslogger (porttest.html)
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Logging errors with portslogger (porttest.html)
- From: Harry Pehkonen <harry_(_dot_)_pehkonen_(_at_)_hotpop_(_dot_)_com>
- Date: Tue, 19 Nov 2002 22:15:24 -0800
http://openbsd.org/porttest.html has an example of using portslogger.
Instead of using:
# make install | \
/usr/ports/infrastructure/build/portslogger .
... I used:
# make install 2>&1 | \
/usr/ports/infrastructure/build/portslogger .
Here are the results:
$ grep -i 'warning' *.log | wc -l
871
$ grep -i 'warning' *.log.old | wc -l
2
Is this worth mentioning? There's also the matter of shell-dependency
(breaks if using /bin/csh).
Thoughts?
Thanks!
Harry.
Index: www/porttest.html
===================================================================
RCS file: /cvs/www/porttest.html,v
retrieving revision 1.13
diff -u -r1.13 porttest.html
--- www/porttest.html 2002/10/10 11:26:50 1.13
+++ www/porttest.html 2002/11/20 05:40:38
@@ -180,7 +180,7 @@
<tr>
<td nowrap bgcolor="#EEEEEE">
<pre>
- # make install | /usr/ports/infrastructure/build/portslogger .
+ # make install 2>&1 | /usr/ports/infrastructure/build/portslogger .
</pre>
</td>
</tr>
Visit your host, monkey.org