[Asterisk-cvs] asterisk logger.c,1.70,1.71
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Thu May 19 23:47:31 CDT 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16749
Modified Files:
logger.c
Log Message:
add a little comment to keep someone else from having the same misunderstanding I had :-)
Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- logger.c 19 May 2005 20:33:55 -0000 1.70
+++ logger.c 20 May 2005 03:52:27 -0000 1.71
@@ -671,9 +671,15 @@
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)
+ */
if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) {
return;
}
+
/* Ignore anything that never gets logged anywhere */
if (!(global_logmask & (1 << level)))
return;
More information about the svn-commits
mailing list