aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index 49444df9e..3bf6f02fb 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 && !option_debug && (level == __LOG_DEBUG)) {
+ if ((!option_verbose && (level == __LOG_VERBOSE)) || (!option_debug && (level == __LOG_DEBUG))) {
return;
}
/* Ignore anything that never gets logged anywhere */