Thanks Zanie. Sorry I ran into another problem. When changing the PREFECT_LOGGING_SETTINGS_PATH variable, I accidentally changed it to an inaccessible path, and now I cant do prefect config unset because its saying the logging path is invalid. Any tips on getting back to default?
03/29/2023, 7:25 PM
😄 You can edit the ~/.prefect/profiles.yaml file
We should probably add a way to ignore bad settings in a profile so you can unset them
03/29/2023, 10:46 PM
Thanks I figured it out! I was wondering if I could use get_run_logger() to get the logging instance, and use FileHandler to write all of the logs to a file? This includes local logs and ones generated from prefect flows. We want to essentially save all the flows logs we see from Prefect UI (Flow -> runs tab)