[tor-commits] [tor/master] Downgrade "assign_to_cpuworker failed" to INFO.

nickm at torproject.org nickm at torproject.org
Wed Jun 21 17:54:24 UTC 2017


commit e3efc076c53467be4785301b3f1872bcb52630b1
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jun 19 15:24:33 2017 -0400

    Downgrade "assign_to_cpuworker failed" to INFO.
    
    Closes ticket 22356
---
 changes/bug22356   | 5 +++++
 src/or/cpuworker.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/changes/bug22356 b/changes/bug22356
new file mode 100644
index 0000000..0082b54
--- /dev/null
+++ b/changes/bug22356
@@ -0,0 +1,5 @@
+  o Minor bugfixes (logging, relay):
+    - Downgrade "assigned_to_cpuworker failed" message to INFO-level
+      severity. In every case that can reach it, either a better warning
+      has already been logged, or no warning is warranted. Fixes bug 22356;
+      bugfix on 0.2.6.3-alpha.
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index fd6de6e..884b2d0 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -475,7 +475,7 @@ queue_pending_tasks(void)
       return;
 
     if (assign_onionskin_to_cpuworker(circ, onionskin))
-      log_warn(LD_OR,"assign_to_cpuworker failed. Ignoring.");
+      log_info(LD_OR,"assign_to_cpuworker failed. Ignoring.");
   }
 }
 





More information about the tor-commits mailing list