diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-09-23 18:24:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-09-23 18:24:20 +0000 |
commit | f28fc83ea57a3964457996238daf2f1697685185 (patch) | |
tree | 8d58dc722156c05322725b830180fb34a12d9eeb /src/common | |
parent | 29abfab8bfdc14d4f2f725aee6755dfc2bd6036b (diff) | |
download | tor-f28fc83ea57a3964457996238daf2f1697685185.tar.gz tor-f28fc83ea57a3964457996238daf2f1697685185.zip |
More logging for mtbf/wfu calculations.
svn:r16941
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/log.c | 2 | ||||
-rw-r--r-- | src/common/log.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/common/log.c b/src/common/log.c index 785b066522..15f8a1c3df 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -718,7 +718,7 @@ log_level_to_string(int level) static const char *domain_list[] = { "GENERAL", "CRYPTO", "NET", "CONFIG", "FS", "PROTOCOL", "MM", "HTTP", "APP", "CONTROL", "CIRC", "REND", "BUG", "DIR", "DIRSERV", - "OR", "EDGE", "ACCT", NULL + "OR", "EDGE", "ACCT", "HIST", NULL }; /** DOCDOC */ diff --git a/src/common/log.h b/src/common/log.h index 61bc503b38..4fd62e79e0 100644 --- a/src/common/log.h +++ b/src/common/log.h @@ -90,9 +90,11 @@ #define LD_EXIT LD_EDGE /** Bandwidth accounting. */ #define LD_ACCT (1u<<17) +/** Router history */ +#define LD_HIST (1u<<18) /** Number of logging domains in the code. */ -#define N_LOGGING_DOMAINS 18 +#define N_LOGGING_DOMAINS 19 typedef uint32_t log_domain_mask_t; |