Minor fix in logging