Run block when logging even if TEST_LOGS is false