Better logging of timestamps