https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Alexander Whillas

03/13/2023, 6:23 AM
I'm not getting anything show up in the sensor logs?
I have a sensor that triggers jobs like so
Copy code
@sensor(
    jobs=[
        summarisation_job,
        ...
    ],
    default_status=DefaultSensorStatus.RUNNING,
    description="SQS queue monitor and job factory",
)
def jobs_sensor(context):
    ...
    for message_id, payload in get_sqs_messages(queue_name, sqs):
        <http://context.log.info|context.log.info>(
            f"Processing message {message_id} with payload {pformat(payload)}"
        )
        ...
?
using Dagster 1.1.19
o

Odette Harary

03/13/2023, 7:27 PM
Hi Alexander - have you checked out the loggers page: https://docs.dagster.io/concepts/logging/loggers
a

Alexander Whillas

03/13/2023, 11:09 PM
Yeah, thanks @Odette Harary but it didn't say anything about sensors in there. Looks like the sensor was getting an assertion error and there is no output recorded but a log event is triggered?
4 Views