Commit Graph
2 Commits
Author SHA1 Message Date
joseph.henry bfdd86bfb7 Revert "Embed verbose debug log inside ZipPacker output"
This reverts commit e16ccc675e.
2026-04-28 15:10:27 +02:00
joseph.henryandClaude Opus 4.7 e16ccc675e Embed verbose debug log inside ZipPacker output
ZipPacker now captures the full BAT_DEBUG log stream into an in-memory
buffer for the lifetime of the pack and writes it as bat-debug.log inside
the produced zip, so archives are self-describing for post-mortem
debugging (which assets were found, where they were rewritten to, which
files were missing, etc.).

The capture forces the blender_asset_tracer logger to DEBUG only on a
dedicated handler, so terminal verbosity is unchanged. The log is flushed
into the closed zip via append mode in close(), which also covers
post-transfer messages and KeyboardInterrupt / FileTransferError paths.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 15:06:23 +02:00