Fix IllegalAccessException in delayed init of logger in example.