If the change variable never changes, the resulting log will be empty which is undesirable. Instead, log at time 0 or first time, then see if we can also log on stop/shutdown.