diff --git a/src/common/log.c b/src/common/log.c index 8245bd4f5b..f38089a40f 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -29,7 +29,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap) struct timeval now; assert(format); - if (severity > loglevel) + if (severity < loglevel) return; my_gettimeofday(&now);