Log reading error handling fixed
Log errors correction added