mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-13 09:20:07 -06:00
The renderer logged only failures, so a log couldn't tell a file asked for 37 times from one asked once and failing inside (issue #2682, its third ask). Renderer::decided writes one debug line per decision, named like the failure warning (render_subject, split out of render_failure_message: slot, photo, debug-formatted file): requested (also stand-ins, prefetches and title screens; "again after a failure" for a retry), produced in N ms, a failed prefetch, and abandoned with the reason (a newer request replaced it, no longer wanted when it finished, another display profile, scrolled out of view before it started, the slideshow moved on, the renderer started over). Failures stay warnings. Lines are built only when the log takes debug lines for this target, so the default (lightcraft*=info) does no extra work. Docs: Get help with a problem gets "A more detailed log"; What's New. Test: render::thumbnail_tests::each_render_request_and_how_it_ended_is_a_debug_line_with_its_file Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>