Added timeperiod logging on UOW state change