diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-09-21 12:07:59 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-09-21 12:07:59 -0500 |
commit | 81bb67286183a35c5754e3ccd815523ae3e67758 (patch) | |
tree | 15877db9f896b1f2e69cd00617c47967eaa7e210 /main | |
parent | 5cb3fc5d6777b03ac29bb7aa41a9b04076577513 (diff) | |
parent | 610eb4c1893a5b002122aea4cad1e7a0c6f1bab9 (diff) |
Merge "logger: Fix default console settings." into 13
Diffstat (limited to 'main')
-rw-r--r-- | main/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c index a70b6d15e..9fda4b342 100644 --- a/main/logger.c +++ b/main/logger.c @@ -471,7 +471,7 @@ static int init_logger_chain(int locked, const char *altconf) return -1; } chan->type = LOGTYPE_CONSOLE; - chan->logmask = __LOG_WARNING | __LOG_NOTICE | __LOG_ERROR; + chan->logmask = (1 << __LOG_WARNING) | (1 << __LOG_NOTICE) | (1 << __LOG_ERROR); if (!locked) { AST_RWLIST_WRLOCK(&logchannels); |