You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the guide The configuration file is parsed when Prefect is first imported and is available as a live object in prefect.config. To access any value, simply use dot-notation (for example, prefect.config.tasks.defaults.checkpoint).
But after putting these lines before the flow.run(),
Hi @occoder, the config object is made available for ease of reading the configuration, not writing it. Most configuration steps must take place on import, including logging. If you want to set the logging level, create a custom config at ~/.prefect/config.toml or set PREFECT__LOGGING__LEVEL=debug in your environment.
According to the guide
The configuration file is parsed when Prefect is first imported and is available as a live object in prefect.config. To access any value, simply use dot-notation (for example, prefect.config.tasks.defaults.checkpoint).
But after putting these lines before the flow.run(),
it does not take any effect on the logging message generation. The default INFO logging level persists.
The text was updated successfully, but these errors were encountered: