Skip to content

Add exception formatter for log output#141

Merged
shima004 merged 2 commits intomainfrom
fix/logger-exception-output
Apr 7, 2026
Merged

Add exception formatter for log output#141
shima004 merged 2 commits intomainfrom
fix/logger-exception-output

Conversation

@shima004
Copy link
Copy Markdown
Member

@shima004 shima004 commented Apr 7, 2026

This pull request makes a targeted improvement to the logging configuration in logger.py. The main change is to enhance the formatting of exceptions in log output.

Logging configuration enhancement:

  • Updated the ConsoleRenderer used in the structlog.stdlib.ProcessorFormatter to include an exception_formatter, specifically structlog.dev.plain_traceback, which will produce clearer and more readable exception tracebacks in the logs.

@shima004 shima004 self-assigned this Apr 7, 2026
@shima004 shima004 merged commit ef4ba74 into main Apr 7, 2026
4 checks passed
@shima004 shima004 deleted the fix/logger-exception-output branch April 7, 2026 04:17
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.

1 participant