add timespan logging