Skip to content

Commit ec1015a

Browse files
ekoutsvkarak
authored andcommitted
Get _log_sanity_results value for all loggers
1 parent 680f7a7 commit ec1015a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reframe/core/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ def log_performance(self, level, task, msg=None, multiline=False):
940940
if (
941941
self.check is None or
942942
not self.check.is_performance_check() and
943-
not self.logger._log_sanity_results
943+
not getattr(self.logger, '_log_sanity_results', False)
944944
):
945945
return
946946

0 commit comments

Comments
 (0)