modify log extraction method