aboutsummaryrefslogtreecommitdiff
path: root/control-spec.txt
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-08-02 12:59:36 +1000
committerteor <teor@torproject.org>2019-08-02 12:59:36 +1000
commite5ec0281872c38ba450801d4524f70cb3ab8291c (patch)
tree1f92059369a2c86121cbef5dc927869bb83cf006 /control-spec.txt
parent438aed98a0616a364b5e632fea74c5024010f1a3 (diff)
downloadtorspec-e5ec0281872c38ba450801d4524f70cb3ab8291c.tar.gz
torspec-e5ec0281872c38ba450801d4524f70cb3ab8291c.zip
control-spec: Document logs that are not included in the Log event
Spec for 30901.
Diffstat (limited to 'control-spec.txt')
-rw-r--r--control-spec.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/control-spec.txt b/control-spec.txt
index ac6578a..97bee17 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -2267,6 +2267,14 @@
Severity = "DEBUG" / "INFO" / "NOTICE" / "WARN"/ "ERR"
+ Some low-level logs may be sent from signal handlers, so their destination
+ logs must be signal-safe. These low-level logs include backtraces,
+ logging function errors, and errors in code called by logging functions.
+ Signal-safe logs are never sent as control port log events.
+
+ Control port message trace debug logs are never sent as control port log
+ events, to avoid modifying control output when debugging.
+
4.1.6. New descriptors available
This event is generated when new router descriptors (not microdescs or