[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/master] Redirect stderr, or it will be sent to the mailing list.
commit 889c5200bdc6bb18b1f23f3e2832878f4c84be59
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Wed Nov 9 08:51:04 2011 +0100
Redirect stderr, or it will be sent to the mailing list.
In theory, our cronjob shouldn't include stderr in whatever it pipes to
mail. But Ant doesn't make a difference between stdout and stderr and
writes everything to stdout. When we grep Ant's output we include the
stderr part, too. Now we explicitly redirect stderr to a file. We
usually don't need it, but when something goes wrong, we might want to
take a look.
---
build.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/build.xml b/build.xml
index 32a450f..570c973 100644
--- a/build.xml
+++ b/build.xml
@@ -64,7 +64,8 @@
<target name="chc" depends="compile">
<java fork="true"
maxmemory="512m"
- classname="org.torproject.chc.Main">
+ classname="org.torproject.chc.Main"
+ error="chc-stderr.txt">
<classpath refid="classpath"/>
</java>
</target>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits