modify the cat log problem and fix cat DalException