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

Nelson De menezes

08/24/2023, 11:44 AM
image.png
dagster bot responded by community 1
s

Sanidhya Singh

08/24/2023, 12:05 PM
to log stuff to the Dagster webserver, you need to use
AssetExecutionContext
something like this
Copy code
from dagster import AssetExecutionContext, asset


@asset
def context_asset(context: AssetExecutionContext):
    <http://context.log.info|context.log.info>(f"My run ID is {context.run_id}")
    ...