add start and end times to log