I’m trying to log some json messages without the e...
# ask-community
a
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()
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?