Hi! How to get logging messages from imported modu...
# ask-community
м
Hi! How to get logging messages from imported modules? In version 1.0, we added the line logging = prefect.context.get("logger") to each module and then used the logging.debug lines for logging.
1
g
In prefect 2, at each level add get_run_logger()
🙌 1
м
And how to set PREFECT_LOGGING_EXTRA_LOGGERS so that it would take logging from all used libraries?
Each module is inconvenient to enter...