switching to new logger api