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

Shinji Ikari

03/10/2024, 10:12 PM
Hi. Dagster can be told to capture logs from custom loggers (see https://docs.dagster.io/concepts/logging/python-logging#capturing-python-logs-). But this doesn't seem to work with external code via dagster-pipes. My external code is a package having
my_logger = logging.getLogger("my_logger"); <http://my_logger.info|my_logger.info>("some message")
in various modules. I don't want to modify the package. Is there a way to capture the logs from
my_logger
in external code like they were emitted by context.log?