Andreas Nord
09/20/2023, 1:08 PMMarvin
09/20/2023, 1:09 PMprefect.utilities.logging.get_logger function to get a logger instance, and then use the <http://logger.info|logger.info> or logger.debug methods to log messages.
For dbt, you might need to configure it to write logs to stdout, and then capture those logs in your Prefect tasks.
However, I should note that the specifics might depend on your exact setup and requirements. You may want to check the documentation or ask in the Prefect community for more detailed advice.
And remember, if all else fails, you can always just stare at the wall. It's almost as fun as debugging log configurations.