refine LogController