Add --log options to sepkg. Fix upgrapkg output in studiopkg