summaryrefslogtreecommitdiff
path: root/src/lib/log/log.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2018-09-10 15:15:45 +0200
committerAlexander Færøy <ahf@torproject.org>2018-11-27 19:31:08 +0100
commit2b41b857bdabffeafbbf748189b22cd6ee818394 (patch)
tree71a81fb9dba462c7409e421205d56d83ee824683 /src/lib/log/log.h
parent31b3a6577c89492e94836f6e3b4bfc7051a3dc7a (diff)
downloadtor-2b41b857bdabffeafbbf748189b22cd6ee818394.tar.gz
tor-2b41b857bdabffeafbbf748189b22cd6ee818394.zip
Add LD_PROCESS as log domain.
See: https://bugs.torproject.org/28179
Diffstat (limited to 'src/lib/log/log.h')
-rw-r--r--src/lib/log/log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/log/log.h b/src/lib/log/log.h
index 493409756f..1cd6087eb8 100644
--- a/src/lib/log/log.h
+++ b/src/lib/log/log.h
@@ -107,8 +107,10 @@
#define LD_CONSDIFF (1u<<24)
/** Denial of Service mitigation. */
#define LD_DOS (1u<<25)
+/** Processes */
+#define LD_PROCESS (1u<<26)
/** Number of logging domains in the code. */
-#define N_LOGGING_DOMAINS 26
+#define N_LOGGING_DOMAINS 27
/** This log message is not safe to send to a callback-based logger
* immediately. Used as a flag, not a log domain. */