Fix logger example.