https://dagster.io/ logo
#announcements
Title
# announcements
d

Deveshi

03/11/2021, 10:52 AM
Hi probably another silly question here, I am looking to capture the Dagster console logs and dump them into a table, what is the best way to achieve this? I was wondering if there is an attribute I could use in place of console ? Many thanks!
I think I figured it out via custom logger. If there is a better approach do let me know 🙂 https://docs.dagster.io/overview/logging/customize-logging#main
y

yuhan

03/11/2021, 7:19 PM
Yup a customize logger is the right way to good. You can configure loggers on modes, which lets you have mode-dependent (e.g. prod vs dev) logging policies
d

Deveshi

03/11/2021, 7:47 PM
Thanks @yuhan!
3 Views