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;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to