improve log info of dir scanning