Minor fix logger