Dagster's compute logs are handled by the configured ComputeLogManager. By default, Dagster+ utilizes the CloudComputeLogManager which stores logs in a Dagster+-managed Amazon S3 bucket, but you can customize this behavior to store logs in a destination of your choice.
If your organization has its own logging solution which ingests stdout and stderr from your compute environment, you may want to disable compute log upload entirely. You can do this with the NoOpComputeLogManager.
You can configure the NoOpComputeLogManager in your dagster.yaml file:
By default, Dagster+ surfaces error messages from your code locations in the UI, including when runs fail, sensors or schedules throw an exception, or code locations fail to load. You can mask these error messages in the case that their contents are sensitive.
To mask error messages in a Dagster+ Deployment, set the environment variable DAGSTER_REDACT_USER_CODE_ERRORS equal to 1 using the Environment variables page in the UI:
Once set, error messages from your code locations will be masked in the UI. A unique error ID will be generated, which you can use to look up the error message in your own logs. This error ID will appear in place of the error message in UI dialogs or in a run's event logs.