Kyle McChesney
10/03/2024, 7:43 PMMarvin
10/03/2024, 7:43 PMget_run_logger()
to create logs that are tied to the flow or task context, making it easier to track and manage logs based on the run context. However, these are not stored in a centralized database by default when self-hosting.
This design provides flexibility and aims to integrate smoothly with existing monitoring solutions you might have in place. More detailed information about logging in Prefect 3.x can be found in their documentation here: Prefect 3.x Logging.
If you choose to implement a self-hosted logging solution, you can potentially store logs in a database using custom log handlers or external systems like Elasticsearch, Splunk, or a traditional RDBMS system using Python logging configurations.