Additional logging for state serialization.