We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e7457 commit 633656fCopy full SHA for 633656f
pyomo/common/log.py
@@ -73,9 +73,8 @@ def is_debug_set(logger):
73
"""
74
if logger.manager.disable >= _DEBUG:
75
return False
76
- _level = logger.getEffectiveLevel()
77
# Filter out NOTSET and higher levels
78
- return _NOTSET < _level <= _DEBUG
+ return _NOTSET < logger.getEffectiveLevel() <= _DEBUG
79
80
elif sys.version_info[:3] < (3, 13, 4):
81
# This is inefficient (it indirectly checks effective level twice),
0 commit comments