Fix log dir in upload