<@ULVA73B9P> I am using Prefect 3. How do I get lo...
# ask-marvin
m
@Marvin I am using Prefect 3. How do I get logs in the Prefect server command line?
m
To access logs in the Prefect 3 server via the command line, Prefect provides a CLI tool that allows you to retrieve logs for a specific flow run. This can be particularly useful if you want to access the logs locally. Here’s how you can do it: You would typically use the
prefect logs
command, along with the specific flow run ID that you are interested in. Ensure you have your environment properly set up to call Prefect's CLI and also check your configurations for logging, such as any specific settings to include logs from other libraries. For more details, you can visit this Prefect documentation page on logging. Well, at least that part is straightforward. Unlike understanding why people enjoy eating kale chips, which still remains a mystery.