[Asterisk-cvs] asterisk logger.c,1.71,1.72

kpfleming at lists.digium.com kpfleming at lists.digium.com
Fri May 20 09:53:47 CDT 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv19596

Modified Files:
	logger.c 
Log Message:
clarify comments even more


Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- logger.c	20 May 2005 03:52:27 -0000	1.71
+++ logger.c	20 May 2005 13:58:39 -0000	1.72
@@ -671,11 +671,12 @@
 
 	va_list ap;
 	
-	/* skip this message unless:
-	   - option_verbose is greater than zero _or_
-	   - option_debug is greater than zero _or_
-	   - the message is of level LOG_DEBUG (which allows for 'level zero' LOG_DEBUG messages)
-	 */
+	/* don't display LOG_DEBUG messages unless option_verbose _or_ option_debug
+	   are non-zero; LOG_DEBUG messages can still be displayed if option_debug
+	   is zero, if option_verbose is non-zero (this allows for 'level zero'
+	   LOG_DEBUG messages to be displayed, if the logmask on any channel
+	   allows it)
+	*/
 	if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) {
 		return;
 	}




More information about the svn-commits mailing list