From: Kevin Harwell Date: Thu, 24 Oct 2013 20:44:09 +0000 (+0000) Subject: Logging: Logging types ignored after specifying a verbose level X-Git-Tag: 11.7.0-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6492b7e230ac8da2d946e7b06e75c9ac915830;p=thirdparty%2Fasterisk.git Logging: Logging types ignored after specifying a verbose level If one specified a verbose level within a logging facility in logger.conf then any component after it was ignored. Fixed so all values are correctly read. (closes issue ASTERISK-22456) Reported by: Kevin Harwell git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@401833 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/logger.c b/main/logger.c index 77107bf661..4c90348dde 100644 --- a/main/logger.c +++ b/main/logger.c @@ -254,7 +254,6 @@ static unsigned int make_components(const char *s, int lineno, int *verbosity) break; } else if (!strncasecmp(w, "verbose(", 8) && sscanf(w + 8, "%d)", verbosity) == 1) { res |= (1 << __LOG_VERBOSE); - break; } else for (x = 0; x < ARRAY_LEN(levels); x++) { if (levels[x] && !strcasecmp(w, levels[x])) { res |= (1 << x);