summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-17 19:58:51 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-17 19:58:51 +0000
commitbdc0aec00a5f117b884e27cb576b834106df41dd (patch)
tree40771f030a4a3d73b99afc0604da3c0fa69746dc /src/common
parent0fa698d84fc6f3f6b71ecb1a7b9acb8de7e0d16a (diff)
downloadtor-bdc0aec00a5f117b884e27cb576b834106df41dd.tar.gz
tor-bdc0aec00a5f117b884e27cb576b834106df41dd.zip
Update _log_global_min_severity after switch_logs_debug(), so that USR2 will work again. Bugfix on 0.1.2.8-beta. Spotted by Geoff Down.
svn:r17317
Diffstat (limited to 'src/common')
-rw-r--r--src/common/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/log.c b/src/common/log.c
index 15f8a1c3df..58e53535a5 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -890,6 +890,7 @@ switch_logs_debug(void)
for (i = LOG_DEBUG; i >= LOG_ERR; --i)
lf->severities->masks[SEVERITY_MASK_IDX(i)] = ~0u;
}
+ _log_global_min_severity = get_min_log_level();
UNLOCK_LOGS();
}