mirror of
https://github.com/openziti/ziti.git
synced 2026-09-10 16:55:41 +00:00
ecd8fab46b
doc/design/logging-refactor.md captures the design for moving the codebase to log/slog without forcing a whole-tree migration. - slog as the API contract at every call site - logrus.Hook bridge so ~3000 pfxlog/logrus call sites benefit without code changes - common/logging.AsyncHandler: bounded queue, level-aware drop policy, periodic summary emission, never-close-the-queue shutdown - dl.NewPrettyHandler adopted for dev/console; JSONHandler with ReplaceAttr for production JSON shape compatibility - named-logger overrides via logging.For(name); existing set-channel-log-level IPC dispatches to both pfxlog and slog registries - PC-based method/file overrides deferred to a follow-up branch - one proof-of-pattern call-site conversion in this branch