I’m trying to log some json messages without the extra information Prefect adds.
I found this page:
https://docs.prefect.io/latest/guides/logs/#formatters
Is there a way I can do this programatically by specifying the format in the formatter when doing get_logger or when sending a message say with logger.info()
Alexis Chicoine
04/10/2024, 2:45 PM
I’m able to set it work, but only if I set the environment variable in the deployment so it’s there from the beginning. Is there a way to manipulate this format during the flow run so that it targets only some specific logs?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.