Delete error log file if it size is more than 1 mb