Any way to supress movement messages? or the busy?

What is the problem?
There's tonnes of messages running through the terminal, and whilst printing if im trying to find bits of data, then its awkward to find the results. turning off autoscroll is useful

What did you already try to solve it?

Logs (octoprint.log, serial.log or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support!)

Send: N3129 G1 X87.582 Y83.885 E6.6244780
Recv: ok
Send: N3130 G1 X87.583 Y85.779 E6.68857
Recv: ok
Send: N3131 G1 X91.536 Y85.779 E6.8223685
Recv: ok
Send: N3132 G1 X99.172 Y93.415 E7.18793
Recv: ok
Send: N3133 G1 X99.172 Y94.367 E7.22014*89

Recv: echo:busy: processing

Recv: echo:busy: processing

Recv: echo:busy: processing

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible)

OctoPrint 1.3.12 running on OctoPi 0.17.0
Raspberry PiZero
Safari (for octopi)
Mac OS 10.13.6

erm... i managed it. found that you can add your own terminal filters, so i added;

Suppress ok messages Recv: ok
Suppress busy messages Recv: echo:busy: processing
Suppress movement messages (Send: (Nd+s+)?G1)|(Recv:s+(oks+)?.(B|Td):d+)

i can pretty much mute everything and see my other Gcodes when requesting


I think the filters got a bit mangled, I needed to make the movement suppression be

(Send: (N\d+\s+)?(G0|G1))|(Recv:\s+(ok\s+)?.(B|T\d):\d+)

I'm not good at regex but I'm sure the G0 G1 bit can be done more efficiently