From 4ae9e6e72f46b517d935f0735e5aa190e860a09e Mon Sep 17 00:00:00 2001 From: Fr0zka Date: Mon, 17 Aug 2026 01:09:22 +0200 Subject: [PATCH] fix(strate): opt-in diagnostic goes Verbose under automation, not Log The verbosity fix stopped the diagnostic failing the suite, but it still printed at Log on every Initialize -- which the fixture calls dozens of times per run, burying the actual test output under hundreds of identical lines. Under GIsAutomationTesting it now logs at Verbose (off by default, still available with -LogCmds). Editor and game keep Warning, where it is actionable and fires once per rebuild. The information was worthless in tests anyway: the fixture's opt-in state is known by construction, and the one test that needs the opted-in variant (OpStack.ClassifyTileSoundness) already reports "all 7 cave layout slots have Use Operator Stack enabled" on its own. Co-Authored-By: Claude Opus 5 --- Source/VoxelForge/Private/VoxelStrateManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/VoxelForge/Private/VoxelStrateManager.cpp b/Source/VoxelForge/Private/VoxelStrateManager.cpp index da316a1..062cb8b 100644 --- a/Source/VoxelForge/Private/VoxelStrateManager.cpp +++ b/Source/VoxelForge/Private/VoxelStrateManager.cpp @@ -165,7 +165,7 @@ void UVoxelStrateManager::Initialize(UVoxelSettings* Settings, int32 WorldSeed) TEXT("[StrateManager] Operator-stack opt-in: %d/%d cave layout slots have Use Operator Stack disabled. These slots cannot use operator-stack ClassifyBox/T1.d; enable the asset setting on the listed definitions if that is intended."), NumOperatorStackDisabledCaves, NumCaveSlots); - if (bQuietDiagnostic) { UE_LOG(LogTemp, Log, TEXT("%s"), *Summary); } + if (bQuietDiagnostic) { UE_LOG(LogTemp, Verbose, TEXT("%s"), *Summary); } else { UE_LOG(LogTemp, Warning, TEXT("%s"), *Summary); } } else @@ -191,7 +191,7 @@ void UVoxelStrateManager::Initialize(UVoxelSettings* Settings, int32 WorldSeed) Slot.TopChunkZ, Slot.BottomChunkZ); - if (bQuietDiagnostic) { UE_LOG(LogTemp, Log, TEXT("%s"), *Line); } + if (bQuietDiagnostic) { UE_LOG(LogTemp, Verbose, TEXT("%s"), *Line); } else { UE_LOG(LogTemp, Warning, TEXT("%s"), *Line); } }