Log to STDOUT instead of STDERR
authorFabian Keil <fk@fabiankeil.de>
Sun, 29 Apr 2012 16:18:01 +0000 (16:18 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 29 Apr 2012 16:18:01 +0000 (16:18 +0000)
STDOUT isn't used for anything else and logging to STDERR makes
piping unpleasant without any benefit (that I remember).

tools/privoxy-regression-test.pl

index bc19a0a..22c9701 100755 (executable)
@@ -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 ($$) {