Tim Galvin
12/04/2022, 8:46 AMPREFECT_LOGGING_EXTRA_LOGGERS
no longer reporting logs through to orion.
I went reading through prefect/logging/configuration.py
and see in #7569 that there was some change to the logic. Now there is a test made against config['incremental']
before the orion log handler is attached to the logger of the extra module.
I am not sure exactly what incrmental
is in this sense, but when I disable this check to force the orion handler to attach itself to my extra module, things work as expected and logs are streamed to orion.
It seems that by default that this config['incremental']
is set to True
(at least I have not knowingly set it), and the test made against its value is negative when evaluating whether to attach the orion logger.
So my question is what is this incremental
configurable, and how does one set it? Is the check made against it actually intended to be negated? Once I remove the check my logs for extra modules outlined in PREFECT_LOGGING_EXTRA_LOGGERS
behave the same as pre v2.6.9 / #7569
@Anna Geller @Zanie - I see both your names on the change -- please don't hate me for tagging you directly 🙂Anna Geller
12/04/2022, 9:32 AMTim Galvin
12/04/2022, 9:42 AM