Jack Prominski

09/07/2023, 1:31 PM
Hi! I just upgraded from prefect 2.6 and am having an issue with logging. I would like INFO level logs from libraries that are used in Flows to appear in the UI. Previously, I was able to change the logging.yml to what's below to achieve this.
Copy code
# The root logger: any logger without propagation disabled sends to here as well
    # By default, we display warning level logs from any library in the console
    # to match Python's default behavior while formatting logs nicely
    level: INFO
    handlers: [orion,console]
After the update though, if I change the handler to "api" from "orion", then I do see the INFO level logs as expected, but now all of the Prefect generated logs ("Created Task Run", "Executing", etc.) are all appearing in the UI twice. Any ideas?