diff options
-rw-r--r-- | src/common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/log.c b/src/common/log.c index e169a3f6cc..a823faa0b8 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -872,7 +872,7 @@ switch_logs_debug(void) LOCK_LOGS(); for (lf = logfiles; lf; lf=lf->next) { for (i = LOG_DEBUG; i >= LOG_ERR; --i) - lf->severities->masks[i] = ~0u; + lf->severities->masks[SEVERITY_MASK_IDX(i)] = ~0u; } UNLOCK_LOGS(); } |