Skip to content

Commit 43a9498

Browse files
highvelctystoksc
authored andcommitted
fix: A less-than/greater-than error in the daist stdout logging filter.
1 parent 7154424 commit 43a9498

File tree

1 file changed

+1
-1
lines changed
  • performance/daist/daist/framework

1 file changed

+1
-1
lines changed

performance/daist/daist/framework/log.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, level):
1515
self._level = level
1616

1717
def filter(self, record: logging.LogRecord) -> bool:
18-
return record.levelno <= self._level
18+
return record.levelno >= self._level
1919

2020

2121
def start(path: Path, file_level: int, stdout_level: int):

0 commit comments

Comments
 (0)