mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
244b9ad23d
Logger::SetOutput was never called by the harness, so every parse warning/error (e.g. "Overwriting instance with name #N") was silently discarded. This directly cost time root-causing a leak: grepping stdout for an expected warning found nothing, looking like it ruled out a hypothesis that was actually correct, because the message was just never printed anywhere. Only enable it when the binary is given an explicit file argument (single-input repro, e.g. `-runs=1 <file>`), not during a real campaign against a corpus directory, where logging on every execution would dominate the runtime. Verified with -fsyntax-only against this branch's headers (a real CMake build of ifcviewer-wgpu wasn't attempted, same as the harness's prior namespace-rename commit). Generated with the assistance of an AI coding tool. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>