]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Backport: Update _log_global_min_severity after switch_logs_debug(), so that USR2...
authorNick Mathewson <nickm@torproject.org>
Mon, 17 Nov 2008 20:00:04 +0000 (20:00 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 17 Nov 2008 20:00:04 +0000 (20:00 +0000)
svn:r17318

ChangeLog
src/common/log.c

index bafa2b8c44e478d72413d3d1cceda4f39b575095..fc78c41c023c10e2333194ad0ab333b4acca3156 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 585cea4a0080bc5e607732d6b4b1309ee2da47c5..a2ce9160c44474d898ac6222709d490d48b3ec58 100644 (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();
 }