combine log with ui