Hey there! It would be useful to be able to see th...
# dagster-feedback
p
Hey there! It would be useful to be able to see the logs that were logged from a given sensor run. Currently in the UI I can only see the requested runs but not the runs/logs of the sensor itself.
👍 1
s
Hi Pablo - there's an feature flag that allows turning this on: https://docs.dagster.io/concepts/partitions-schedules-sensors/sensors#logging-in-sensors
p
Awesome! Although after turning it on I still cant see any logs on the page. Do I need to do anything else?
s
@prha are you able to help out with this one?
p
Screen Shot 2023-06-08 at 11.23.07 AM.png
p
Hi Pablo. How are you logging from within the sensor? Is it using
context.log.X
? Also, what do you have configured for your compute log manager?
p
context.log.info() and we have not made any changes to compute log manager that I know of so I would guess it would be the default
p
Hmm, I would expect the logs to show up if the compute log manager is set to the default. This is an OSS installation (i.e. not Dagster Cloud), correct? Do you know if you’ve disabled the python logging level below a certain level? Example:
Copy code
import logging

# set the disable logging level on the root logger
logging.disable(logging.CRITICAL)