Move log struct properties into loop() local vars.

Questions are called out within the pr.
Use `var` block here.