<@U0667DNC02Y> can I add logging messages to a sch...
# ask-ai
a
@Scout can I add logging messages to a schedule?
s
Yes, you can add logging messages to a schedule in Dagster. Any schedule can emit log messages during its evaluation function. Here's an example from the documentation on how to do this:
Copy code
python from dagster import schedule  @schedule(job=my_job, cron_schedule="* * * * *") def logs_then_skips(context):     <http://context.log.info|context.log.info>("Logging from a schedule!")     return SkipReason("Nothing to do")
These logs can be viewed when inspecting a tick in the tick history view on the corresponding schedule page in the Dagster UI. Make sure that your Dagster instance's compute log storage is configured properly to view your schedule logs.