https://prefect.io logo
Title
j

jack

12/15/2020, 3:50 PM
Say the agent is running under user alice, and the flows are being registered by user bob. Into whose home directory does ~/.prefect/config.toml belong?
j

Jim Crist-Harif

12/15/2020, 4:59 PM
Assuming you're talking about a local agent, the config directory that affects the agent is the one that will affect runtime behavior of flow runs. The config for the user registering flows only affects registration-time options.
j

jack

12/15/2020, 5:00 PM
Does the agent need to be restarted to pick up changes to its config.toml?
j

Jim Crist-Harif

12/15/2020, 5:01 PM
Yes, those are loaded on init only.
j

jack

12/15/2020, 5:03 PM
Is there a complete list of config file options available?
j

Jim Crist-Harif

12/15/2020, 5:04 PM
There is not (it's an open issue). The existing config file has most of the common ones present and commented: https://github.com/PrefectHQ/prefect/blob/master/src/prefect/config.toml
Is there a specific option you're looking for?
j

jack

12/15/2020, 5:07 PM
Not really. Studying logging at the moment, and I see a few options in config.toml you referenced above.
The config.toml referenced above---the ones that are in that file, are those taken to be the defaults?
j

Jim Crist-Harif

12/15/2020, 5:08 PM
yes