Rework FPM tests logging for better debugging
Fix bug #81513 (Future possibility for heap overflow in FPM zlog) This fixes currently unused code path in zlog that could lead to the heap overflow in the future.