c_suppress_logs.cfg modified - 19/04/25 - 13:15:23
This commit is contained in:
1 parent
bce2079a70
commit
5d16b85a50
1 file changed
+32
-3
@@ -1,5 +1,34 @@
|
||||
[suppress_logs]
|
||||
|
||||
#ENABLE_LOG_SUPPRESSION KEYWORDS=Run\\sCurrent|Hold\\sCurrent
|
||||
#; do SET_TMC_CURRENT stuff here
|
||||
#DISABLE_LOG_SUPPRESSION
|
||||
#####################################################################
|
||||
# 🧰 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 #
|
||||
# #
|
||||
#####################################################################
|
||||
Reference in new issue
Block a user