Long term logging solution needed

That command will print out debug info to the set serial port - >see related post here< where you can redirect that, and any other serial.print() data you want, to terminal for later review.