I'm running Prefect server + agent locally and in ...
# ask-community
a
I'm running Prefect server + agent locally and in my Dev environment in AWS, and I'm having an issue where I'm seeing flow and task run logs locally in the Prefect UI, but I'm not able to see anything in the deployed environment. The flow and its tasks are running successfully in Dev, but logs aren't being displayed in the UI. I'm using
get_run_logger()
to instantiate the logger both at the flow and task levels and calling
<http://logger.info|logger.info>()
. My minimum log level setting is INFO. I've verified the config and settings in both envs and ensured that the agent container can communicate with the server and the DB where logs are stored. Clicking on a task in Dev simply displays "This run didn't generate Logs " . The only log I have in my
public.log
table in my Postgres db is "Downloading flow code from storage at '/app'". The server and agent AWS logs in Dev don't contain any exceptions. Has anyone else run into this issue?