upload logger wraper