You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
There is the --meltano-log-json flag, and meltano.edk.logging.default_logging_config, but those seem to require a fair bit of boilerplate, and don't provide an out-of-the-box experience wherein the configuration inherits from the caller (Meltano).
The EDK should provide plugins that use it with logging facilities.
An example of an issue that can arise without such facilities provided:
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.The text was updated successfully, but these errors were encountered: