Added logging to baselineCorrector