log must be append
test
fix path error
make dir for line name, use decode name.