I had build kicad by debug mode.
and I know I can see the wxtrace message by type $ WXTRACE="TRACEMASK,OTHERMASK" kicad
But how can I see m_logger result in terminal? #ifdef DEBUG
m_logger.NewGroup( “on-reverse-via”, m_iter );
m_logger.Log( aObstacleVia, 0, “the-via” );
m_logger.Log( &aCurrent, 1, “current-line” );
m_logger.Log( &shoved, 3, “shoved-line” ); #endif
To my knowledge, you cannot interact with the PNS router using Python. If you want help, you need to explain what you want in more details. We are not clairvoyants.