This message was deleted.
# marvin-in-the-wild
s
This message was deleted.
m
Your message was too long by 177 tokens - please shorten it and try again. For reference, here's your message at the allowed limit:
I'm running Prefect server + agent locally and also 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 AWS 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'".
I've also tried using a custom logger a la
logging.getLogger()
along with setting
PREFECT_LOGGING_EXTRA_LOGGERS
, and I've tried print statements along with setting
PREFECT_LOGGING_LOG_PRINTS
, but neither causes anything to show up in the logs. The server and agent AWS logs in Dev don't contain any exceptions or warnings. Here's a snapshot of my logging variables: ```PREFECT_LOGGING_COLORS='True' (from defaults) PREFECT_LOGGING_EXTRA_LOGGERS='test-logger' (from profile) PREFECT_LOG