Fix logger dead handler