diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-09-21 12:25:09 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-09-21 12:25:09 -0500 |
commit | 6b8de1394670b8f5b8233d53c05ba7a6c212172d (patch) | |
tree | 06b9f6cc535d10319cd4d93e63300185497da0bb /main | |
parent | 5325e7a500e7ff8c4dd1f716c7ea62e5feee5d78 (diff) | |
parent | 68ff7362ae68b2a7e34a22de2de0a4048be30876 (diff) |
Merge "logger: Fix default console settings." into 14
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 9a16dcf13..db3d7a730 100644 --- a/main/logger.c +++ b/main/logger.c @@ -663,7 +663,7 @@ static int init_logger_chain(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); memcpy(&chan->formatter, &logformatter_default, sizeof(chan->formatter)); AST_RWLIST_INSERT_HEAD(&logchannels, chan, list); |