Backport: 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:r17318
This commit is contained in:
Nick Mathewson 2008-11-17 20:00:04 +00:00
parent 6694a86033
commit 6489570b89
2 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,8 @@ Changes in version 0.2.0.32 - 2008-??-??
list. It has been gone for many months.
- Stop doing unaligned memory access that generated bus errors on
sparc64. Bugfix on 0.2.0.10-alpha. Fix for bug 862.
- Make USR2 log-level switch take effect immediately. Bugfix on
0.1.2.8-beta.
o Minor bugfixes (controller):
- Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on

View File

@ -701,6 +701,7 @@ switch_logs_debug(void)
for (lf = logfiles; lf; lf=lf->next) {
lf->min_loglevel = LOG_DEBUG;
}
_log_global_min_severity = get_min_log_level();
UNLOCK_LOGS();
}