Adding time calculations to log detail page