debugging preprocess of logs