Do not build p1_logger if lager is enabled