From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 29 Apr 2012 16:18:01 +0000 (+0000)
Subject: Log to STDOUT instead of STDERR
X-Git-Tag: v_3_0_20~349
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/static/testing.html?a=commitdiff_plain;h=e57aed5199c1aebadda9ad6e02284e580867d696;p=privoxy.git

Log to STDOUT instead of STDERR

STDOUT isn't used for anything else and logging to STDERR makes
piping unpleasant without any benefit (that I remember).
---

diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index bc19a0aa..22c9701d 100755
--- a/tools/privoxy-regression-test.pl
+++ b/tools/privoxy-regression-test.pl
@@ -7,7 +7,7 @@
 # A regression test "framework" for Privoxy. For documentation see:
 # perldoc privoxy-regression-test.pl
 #
-# $Id: privoxy-regression-test.pl,v 1.80 2011/10/30 16:22:16 fabiankeil Exp $
+# $Id: privoxy-regression-test.pl,v 1.81 2011/10/30 16:22:29 fabiankeil Exp $
 #
 # Wish list:
 #
@@ -1502,7 +1502,7 @@ sub log_message ($) {
         $message = $time_stamp . ": " . $message;
     }
 
-    printf(STDERR "%s\n", $message);
+    printf("%s\n", $message);
 }
 
 sub log_result ($$) {