Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull out the JsonFormatter used by json_console_logger into a top-level import #24331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gibsondan
Copy link
Member

Summary:
This provides a way for you to specify the dagster-specific JsonFormatter that the json_console_logger uses as a formatter option under python_logs in your dagster.yaml file.

Summary & Motivation

How I Tested These Changes

Changelog

Insert changelog entry or "NOCHANGELOG" here.

  • NEW (added new feature or capability)
  • BUGFIX (fixed a bug)
  • DOCS (added or updated documentation)

…el import

Summary:
This provides a way for you to specify the dagster-specific JsonFormatter that the json_console_logger uses as a formatter option under python_logs in your dagster.yaml file.
Copy link
Collaborator

@smackesey smackesey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder whether it makes sense to rename this to JsonLogFormatter if we are exposing it as a top-level export. Plain JsonFormatter is kinda vague without the context.

Not something I feel strongly about though so up to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants