This library provides an integration with Papertrail for logging.
You can easily set up your Dagster pipeline to log to Papertrail. You’ll need an active Papertrail account, and have your papertrail URL and port handy.
dagster_papertrail.
papertrail_logger
LoggerDefinition¶Core class for defining loggers.
Loggers are pipeline-scoped logging handlers, which will be automatically invoked whenever solids in a pipeline log messages.
logger_fn (Callable[[InitLoggerContext], logging.Logger]) – User-provided function to
instantiate the logger. This logger will be automatically invoked whenever the methods
on context.log
are called from within solid compute logic.
config_schema (Optional[ConfigSchema]) – The schema for the config. Configuration data available in init_context.logger_config. If not set, Dagster will accept any config provided.
description (Optional[str]) – A human-readable description of this logger.