moving logging around