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
This commit is contained in:
Nick Mathewson 2008-11-17 19:58:51 +00:00
parent 0fa698d84f
commit bdc0aec00a
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,8 @@ Changes in version 0.2.1.8-alpha - 2008-??-??
sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
- Fix a crash bug when changing ExcludeNodes from the controller. Bugfix
on 0.2.1.6-alpha. Fix for bug 867. Patched by Sebastian.
- Make USR2 log-level switch take effect immediately. Bugfix on
0.1.2.8-beta.
o Minor features (controller):
- Return circuit purposes in response to GETINFO circuit-status. Fixes

View File

@ -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();
}