]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Lower log level of standard error messages from PT's.
authorAlexander Færøy <ahf@torproject.org>
Mon, 20 Jan 2020 18:29:30 +0000 (18:29 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 22 Jan 2020 19:32:13 +0000 (14:32 -0500)
This patch lowers the log level of error messages from PT processes from
warning to debug.

See: https://bugs.torproject.org/33005

changes/bug33005 [new file with mode: 0644]
src/feature/client/transports.c

diff --git a/changes/bug33005 b/changes/bug33005
new file mode 100644 (file)
index 0000000..30a8d01
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (pluggable transports):
+    - Lower the log level of standard error messages from a PT from warning to
+      info. Fixes bug 33005; bugfix on 0.4.0.1-alpha.
index 68691ef5124f04e3ade9f1c95c4387749258db31..a8ea9781a4ddd225c6edaadca74fcb8952023a42 100644 (file)
@@ -1858,7 +1858,9 @@ managed_proxy_stderr_callback(process_t *process,
   if (BUG(mp == NULL))
     return;
 
-  log_warn(LD_PT, "Managed proxy at '%s' reported: %s", mp->argv[0], line);
+  log_info(LD_PT,
+           "Managed proxy at '%s' reported via standard error: %s",
+           mp->argv[0], line);
 }
 
 /** Callback function that is called when our PT process terminates. The