:wave: Hello, team! What is the best way to log fr...
# ask-community
👋 Hello, team! What is the best way to log from a sensor, I was expecting to be able to get the logger from the context, but it’s not available. Thanks in advance.
🤖 1
Hi Jose, you may capture the daemon logs on your own and inspect them. We have an open issue for tracking the task to include logger as part of the sensor content here: https://github.com/dagster-io/dagster/issues/4292
Thanks @yuhan
after doing some research i tried
I guess those wont go to the right output
thanks for your help
yup - as for implementation details, sensor code is being invoked in a daemon that’s separate from where your user code (e.g. code in ops) is executed. so you’ll need to capture the logs from that sensor daemon.
👍 1
🙏 1