Write UI log to ui.log