moved the logger up the chain