Skip to content

Commit

Permalink
Add "Suppress processing responses" filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophist-UK committed Sep 16, 2020
1 parent 7657544 commit b51d5fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ date of first contribution):
* [Brian Vanderbusch](https://github.com/LongLiveCHIEF)
* [Charlie Powell](https://github.com/cp2004)
* [Ollis Git](https://github.com/OllisGit)
* [Sophist](https://github.com/Sophist-UK)

OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
Expand Down
2 changes: 2 additions & 0 deletions docs/configuration/config_yaml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,8 @@ Use `Javascript regular expressions <https://developer.mozilla.org/en/docs/Web/J
regex: '(Send: (N\d+\s+)?M27)|(Recv: SD printing byte)'
- name: Suppress wait responses
regex: 'Recv: wait'
- name: Suppress processing responses
regex: 'Recv: (echo:\s*)?busy:\s*processing'
.. _sec-configuration-config_yaml-webcam:

Expand Down
3 changes: 2 additions & 1 deletion src/octoprint/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ def settings(init=False, basedir=None, configfile=None):
"terminalFilters": [
{ "name": "Suppress temperature messages", "regex": r"(Send: (N\d+\s+)?M105)|(Recv:\s+(ok\s+((P|B|N)\d+\s+)*)?(B|T\d*):\d+)" },
{ "name": "Suppress SD status messages", "regex": r"(Send: (N\d+\s+)?M27)|(Recv: SD printing byte)|(Recv: Not SD printing)" },
{ "name": "Suppress wait responses", "regex": "Recv: wait"}
{ "name": "Suppress wait responses", "regex": r"Recv: wait" },
{ "name": "Suppress processing responses", "regex": r"Recv: (echo:\s*)?busy:\s*processing" }
],
"plugins": {
"_disabled": [],
Expand Down

0 comments on commit b51d5fe

Please sign in to comment.