make tmp.log absolute path