https://prefect.io logo
Title
m

Michael Cody

12/07/2022, 10:02 PM
I'm trying to update the logging formatter datefmt: I tried
prefect config set PREFECT_LOGGING_FORMATTERS_SIMPLE_DATEFMT="%Y-%m-%d %H:%M:%S"
which return
"Unknown setting name 'PREFECT_LOGGING_FORMATTERS_SIMPLE_DATEFMT'"
. If I try
prefect config set PREFECT_LOGGING_HANDLERS_CONSOLE_FORMATTER=json
from this this message from a month ago, I get the same error. This should be simple but I think I'm missing something. Editing the logging config works, but I'd rather have it in the profile instead of copying the logging.yml file. Thanks. https://prefect-community.slack.com/archives/CL09KU1K7/p1666798948425739?thread_ts=1666794116.134359&cid=CL09KU1K7
z

Zanie

12/07/2022, 10:05 PM
Ah I think these nested logging settings can only be set by environment variable not the profile config.
m

Michael Cody

12/08/2022, 7:30 PM
btw, thank. Environment variables worked fine.