dect
/
asterisk
Archived
13
0
Fork 0

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

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5726 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2005-05-19 02:54:23 +00:00
parent 5759f3b9b0
commit 815a2a9fc6
1 changed files with 1 additions and 1 deletions

View File

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