add training log log_time to views and controllers