diff --git a/logger.c b/logger.c index 3bf6f02fb033f42df001a423df331a8b54918e73..49444df9e04a317c854bf3f9c60df5576c743361 100755 --- a/logger.c +++ b/logger.c @@ -671,7 +671,7 @@ void ast_log(int level, const char *file, int line, const char *function, const va_list ap; - if ((!option_verbose && (level == __LOG_VERBOSE)) || (!option_debug && (level == __LOG_DEBUG))) { + if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) { return; } /* Ignore anything that never gets logged anywhere */