Move the logger to the top module