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

Ian Venter

04/21/2023, 6:50 AM
Hi, When dagster startups up, i'd like to log certain configured environment variables to the console/log file e.g. whether it's running in dev/test/prod mode etc...Where is the best place to do this?
t

Tim Castillo

04/21/2023, 5:30 PM
Would you be able to put log statements in the root-level
__init__.py
?
get_dagster_logger
doesn't work at buildtime, but any other logger you might have would output then.
i

Ian Venter

04/22/2023, 7:40 AM
Thanks @Tim Castillo, i tried Python Logging in the root level init.py and it works!!!