Logging, variable rearrangement