log preprocessing msc