Geting error , its cuting about 300-400 logs and geting error