[asterisk-commits] kharwell: branch 11 r401833 - /branches/11/main/logger.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 24 15:44:11 CDT 2013


Author: kharwell
Date: Thu Oct 24 15:44:09 2013
New Revision: 401833

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=401833
Log:
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

Modified:
    branches/11/main/logger.c

Modified: branches/11/main/logger.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/logger.c?view=diff&rev=401833&r1=401832&r2=401833
==============================================================================
--- branches/11/main/logger.c (original)
+++ branches/11/main/logger.c Thu Oct 24 15:44:09 2013
@@ -254,7 +254,6 @@
 			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);




More information about the asterisk-commits mailing list