fixed relative log rotate path and updated UT