Skip to main content

Papertrail (dagster-papertrail)

This library provides an integration with Papertrail for logging.

You can easily set up your Dagster job 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 job-scoped logging handlers, which will be automatically invoked whenever dagster messages are logged from within a job.

Parameters:

  • logger_fn (Callable[[InitLoggerContextInitLoggerContext], logging.Logger]) – User-provided function to
  • config_schema (Optional[ConfigSchemaConfigSchema]) – The schema for the config. Configuration data available in
  • description (Optional[str]) – A human-readable description of this logger.