move logging up