- fixed loglevel output bug

This commit is contained in:
Martin Willi
2005-11-21 12:06:01 +00:00
parent ca313de4f0
commit bb90a49b14
+2 -2
View File
@@ -105,11 +105,11 @@ static void prepend_prefix(private_logger_t *this, logger_level_t loglevel, char
log_type = '-'; log_type = '-';
} }
if (loglevel & ALL) if (loglevel & (ALL - MOST))
{ {
log_details = '3'; log_details = '3';
} }
else if (loglevel & MOST) else if (loglevel & (MOST - MORE))
{ {
log_details = '2'; log_details = '2';
} }