commit 35721b38e45d8cfd181955b5993a8531ea3e5971 Author: Alexander Færøy ahf@torproject.org Date: Mon Jan 20 18:29:30 2020 +0000
Lower log level of standard error messages from PT's.
This patch lowers the log level of error messages from PT processes from warning to debug.
See: https://bugs.torproject.org/33005 --- changes/bug33005 | 3 +++ src/feature/client/transports.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/changes/bug33005 b/changes/bug33005 new file mode 100644 index 000000000..30a8d01bb --- /dev/null +++ b/changes/bug33005 @@ -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. diff --git a/src/feature/client/transports.c b/src/feature/client/transports.c index 68691ef51..a8ea9781a 100644 --- a/src/feature/client/transports.c +++ b/src/feature/client/transports.c @@ -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
tor-commits@lists.torproject.org