Move log struct properties into loop() local vars.

Questions are called out within the pr.
read comment above.