Loading ChangeLog +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ Changes in version 0.2.1.1-alpha - 2008-??-?? 614. Bugfix on 0.1.2.x. - Make --enable-openbsd-malloc work correctly on Linux with alpha CPUs. Fixes bug 625. Bugfix on 0.2.0.x. - Logging functions now check that the passed severity is sane. o Minor features: - Allow separate log levels to be configured for different logging Loading src/common/log.c +3 −0 Original line number Diff line number Diff line Loading @@ -261,6 +261,9 @@ logv(int severity, log_domain_mask_t domain, const char *funcname, /* Call assert, not tor_assert, since tor_assert calls log on failure. */ assert(format); /* check that severity is sane. Overrunning the masks array leads to * interesting and hard to diagnose effects */ assert(severity >= LOG_ERR && severity <= LOG_DEBUG); LOCK_LOGS(); lf = logfiles; while (lf) { Loading Loading
ChangeLog +1 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ Changes in version 0.2.1.1-alpha - 2008-??-?? 614. Bugfix on 0.1.2.x. - Make --enable-openbsd-malloc work correctly on Linux with alpha CPUs. Fixes bug 625. Bugfix on 0.2.0.x. - Logging functions now check that the passed severity is sane. o Minor features: - Allow separate log levels to be configured for different logging Loading
src/common/log.c +3 −0 Original line number Diff line number Diff line Loading @@ -261,6 +261,9 @@ logv(int severity, log_domain_mask_t domain, const char *funcname, /* Call assert, not tor_assert, since tor_assert calls log on failure. */ assert(format); /* check that severity is sane. Overrunning the masks array leads to * interesting and hard to diagnose effects */ assert(severity >= LOG_ERR && severity <= LOG_DEBUG); LOCK_LOGS(); lf = logfiles; while (lf) { Loading