Join Slack
Communities
Powered by
How do I access the Orion logger? It doesn't seem ...
# ask-community
t
Tim Enders
11/12/2021, 3:41 PM
How do I access the Orion logger? It doesn't seem to run with the
prefect.context
and I can't do
prefect run
to get a context.
z
Zanie
11/12/2021, 3:51 PM
Hey Tim, there is not an "Orion" logger in the same sense as Prefect's ~1.0's logger. We have not designed log collection yet.
t
Tim Enders
11/12/2021, 3:52 PM
OK, thank you
z
Zanie
11/12/2021, 3:53 PM
Roughly, we're supporting entirely custom logging configuration with a yml file
https://github.com/PrefectHQ/prefect/blob/orion/src/prefect/utilities/logging.yml
Zanie
11/12/2021, 3:54 PM
https://orion-docs.prefect.io/api-ref/prefect/utilities/settings/#prefect.utilities.settings.LoggingSettings
Zanie
11/12/2021, 3:54 PM
However, we haven't actually implemented the
OrionHandler
yet so sending logs to it won't do anything 🙂
t
Tim Enders
11/12/2021, 3:54 PM
I will continue to use print for now. thank you.
3
Views
Open in Slack
Previous
Next