fix incorrect processing when open logger device