-
Notifications
You must be signed in to change notification settings - Fork 183
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
Prompt Driver Debug Logs #1250
Prompt Driver Debug Logs #1250
Conversation
fbffb89
to
59f4a25
Compare
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested. works great.
def __attrs_pre_init__(self) -> None: | ||
super().__init__() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to get set on the filters too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I just ran into errors without it.
Describe your changes
Added
LoggingConfig.handlers
for configuring logging handlers.LoggingConfig.handlers_formatter
for configuring a formatter for all handlers.LoggingConfig.propagate
for configuring whether log messages should be propagated to parent loggers.LoggingConfig.level
for configuring the logging level.griptape.configs.logging.JsonFormatter
for formatting logs as JSON.Changed
_DefaultsConfig.logging_config
andDefaults.drivers_config
are now lazily instantiated.Issue ticket number and link
Closes #267