logging

Tag: logging

9 posts
M
moute

my selfish personal wishlist

a plea from a chronically online person

·
Aug 14
·
Type-safe slogging
Redowan's Reflections icon
Redowan's Reflections
rednafi.com

Type-safe slogging

The default slog API is loose enough that a careless line ships broken JSON to production. Pin it down with Attr constructors, LogAttrs, a context-borne logger, and sloglint.

·
May 8
·
Agent IO icon
Agent IO
agent.io

Use the Charm logger

Use the Charm logger consistently through IO.

·
Oct 25 '25
·
Log context propagation in Python ASGI apps
Redowan's Reflections icon
Redowan's Reflections
rednafi.com

Log context propagation in Python ASGI apps

Automatically tag Python logs with request context using middleware and contextvars for distributed tracing in ASGI web applications.

·
Aug 5 '24
·
Please don't hijack my Python root logger
Redowan's Reflections icon
Redowan's Reflections
rednafi.com

Please don't hijack my Python root logger

Avoid configuring Python's root logger in libraries; use named loggers with NullHandler to let application code control logging behavior.

·
Aug 2 '24
·
E
ewan's devlog
devlog.croft.click

Bean Dumper Rewrite

·
Jun 5 '24
·
Anemic stack traces in Go
Redowan's Reflections icon
Redowan's Reflections
rednafi.com

Anemic stack traces in Go

Learn how to build custom error types in Go to create stack traces without runtime overhead, inspired by Rob Pike's Upspin error handling.

·
Feb 9 '24
·
Go structured logging with slog
Redowan's Reflections icon
Redowan's Reflections
rednafi.com

Go structured logging with slog

Master Go 1.21's log/slog package for structured logging with levels, JSON output, and attribute grouping. No third-party libraries needed.

·
Aug 9 '23
·
Python logging quirks in AWS Lambda environment
Redowan's Reflections icon
Redowan's Reflections
rednafi.com

Python logging quirks in AWS Lambda environment

Configure Python logging for AWS Lambda's pre-configured handlers while maintaining compatibility with local development environments.

·
Oct 19 '22
·