Lee Mendelowitz
05/25/2022, 12:47 PMAnna Geller
Lee Mendelowitz
05/25/2022, 1:01 PMprefect get logs --id <id>
doesn’t return all of the output. So we set up the Docker daemon to log to AWS CloudWatch Logs, but those logs we must retrieve by container idprefect get logs
. It’s mysterious because we are using the prefect loggers…this is output from a ShellTask with stream_output = True
Anna Geller
Lee Mendelowitz
05/25/2022, 1:08 PMprefect get logs --id <id> | less
or ``prefect get logs --id <id> | grep` is easier than clicking thru the UI, which for me is only displaying a small portion of the log file. It could be a largish log file, 1-5 MBAnna Geller
Lee Mendelowitz
05/25/2022, 1:27 PMAnna Geller
Lee Mendelowitz
05/25/2022, 1:32 PMprefect get logs
returns a log of just 412kb. Maybe prefect get logs
has some limit of how many log statements it will return or something like thatAnna Geller