diff options
author | Alexander Færøy <ahf@torproject.org> | 2020-01-20 18:29:30 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-01-22 14:32:13 -0500 |
commit | 35721b38e45d8cfd181955b5993a8531ea3e5971 (patch) | |
tree | 886f568a3a0a4196e69c49d6363325bd6b9b1973 | |
parent | ff93133403fa927eedc424dfb00557fcaab6aede (diff) | |
download | tor-35721b38e45d8cfd181955b5993a8531ea3e5971.tar.gz tor-35721b38e45d8cfd181955b5993a8531ea3e5971.zip |
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
-rw-r--r-- | changes/bug33005 | 3 | ||||
-rw-r--r-- | src/feature/client/transports.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/changes/bug33005 b/changes/bug33005 new file mode 100644 index 0000000000..30a8d01bb3 --- /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 68691ef512..a8ea9781a4 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 |