Cameron Gallivan
08/27/2021, 10:11 PMbuild_solid_context
with direct invocation instead of execute_solid
but I’m running into some inconsistent behavior with configuring the logger.
With execute_solid
I was able to pass this with the config to suppress the DEBUG level being output to console:
{'loggers': {'console': {'config': {'log_level': 'INFO'}}}}
But when I directly invoke the solid with
context = build_solid_context(config={'loggers': {'console': {'config': {'log_level': 'INFO'}}}})
some_solid(context)
The DEBUG level is still being output to the console, is there anyway to suppress that?owen
08/27/2021, 11:28 PMCameron Gallivan
08/27/2021, 11:34 PMowen
08/27/2021, 11:44 PMbuild_solid_context(instance=DagsterInstance.local_temp(overrides={"python_logs":{"python_log_level":"INFO"}}))
. However, that's a bit more heavy-handed than using an ephemeral DagsterInstance, so ideally we'd make a change to actually respect the run config.