fixing file logging of UI_comms