diff --git a/printer_data/config/CUSTOM/c_suppress_logs.cfg b/printer_data/config/CUSTOM/c_suppress_logs.cfg index ec73d58..4a21c8f 100644 --- a/printer_data/config/CUSTOM/c_suppress_logs.cfg +++ b/printer_data/config/CUSTOM/c_suppress_logs.cfg @@ -1,5 +1,34 @@ [suppress_logs] -#ENABLE_LOG_SUPPRESSION KEYWORDS=Run\\sCurrent|Hold\\sCurrent -#; do SET_TMC_CURRENT stuff here -#DISABLE_LOG_SUPPRESSION \ No newline at end of file +##################################################################### +# 🧰 SUPPRESS_LOGS MODULE USAGE GUIDE # +# # +# This module lets you temporarily hide log messages from Klipper # +# that match specific text patterns — useful for things like # +# SET_TMC_CURRENT spam. # +# # +# To install: # +# - Save `suppress_logs.py` to: # +# /home/pi/klipper/klippy/extras/suppress_logs.py # +# - Add the section [suppress_logs] to printer.cfg # +# - Restart Klipper # +# # +# To use: # +# ENABLE_LOG_SUPPRESSION KEYWORDS="YourPattern1|YourPattern2" # +# ... your commands here ... # +# DISABLE_LOG_SUPPRESSION # +# # +# EXAMPLE: Suppress TMC Current Messages # +# # +# ENABLE_LOG_SUPPRESSION KEYWORDS="Run Current|Hold Current" # +# SET_TMC_CURRENT STEPPER=stepper_x CURRENT=0.89 HOLD_CURRENT=0.65# +# DISABLE_LOG_SUPPRESSION # +# # +# NOTES: # +# • KEYWORDS must be quoted if they contain spaces or symbols # +# • You can use regex patterns if needed # +# • This does NOT remove logs entirely — just prevents matching # +# lines from being printed to the Klipper log output # +# • This is silent — no console messages are shown when used # +# # +##################################################################### \ No newline at end of file