properly check for debug and verbose messages to suppress (bug #4294)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-05-19 02:54:23 +00:00
parent a1779650de
commit 3e7675e728

View File

@@ -671,7 +671,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
va_list ap; va_list ap;
if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) { if ((!option_verbose && (level == __LOG_VERBOSE)) || (!option_debug && (level == __LOG_DEBUG))) {
return; return;
} }
/* Ignore anything that never gets logged anywhere */ /* Ignore anything that never gets logged anywhere */