Extracting Log for more efficient saving.