Skip to content

EDK logging #22

Description

@WillDaSilva

The EDK should provide plugins that use it with logging facilities.

An example of an issue that can arise without such facilities provided:

(cron-ext) will ~/meltano/cron-ext (main) $ meltano invoke cron
2022-09-16T19:21:11.159996Z [info     ] Environment 'dev' is active
Unable to list crontab entries.

The first log line is from Meltano. The second is from calling structlog.get_logger(APP_NAME).error.

The EDK should ensure that the plugins that use it emit logs that match the logging configuration the Meltano instance that is calling it. Maybe to do this the EDK should provide a get_logger function that provides an appropriately configured logger.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions