Skip to content

only show local variables with debug log level#56

Merged
pmeier merged 1 commit into
mainfrom
debug-log-locals
Jun 16, 2026
Merged

only show local variables with debug log level#56
pmeier merged 1 commit into
mainfrom
debug-log-locals

Conversation

@pmeier

@pmeier pmeier commented Jun 16, 2026

Copy link
Copy Markdown
Member

Closes #54. It doesn't remove the functionality to show local variables for exceptions, but only does so when debug logging is enabled. Since this is not the default

class LoggingConfig(BaseModel, RenderableConfigMixin):
level: l2sl.LogLevel = l2sl.LogLevel("info")

this requires an action from the user. But in that case we can keep the information which is certainly useful for debugging.

@pmeier pmeier merged commit ef5a7d7 into main Jun 16, 2026
15 checks passed
@pmeier pmeier deleted the debug-log-locals branch June 16, 2026 13:51
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.

Exception logs capture frame locals, including JWT claims and message content

1 participant