moved ua to logging