Skip to content

Commit 4d24068

Browse files
committed
Reduce logging
1 parent d4052d4 commit 4d24068

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Nfc2KlipperConfig:
2525
def configure_logging(cls) -> None:
2626
"""Configure the logging"""
2727
logging.basicConfig(
28-
level=logging.DEBUG,
28+
level=logging.INFO,
2929
format="%(asctime)s %(levelname)s - %(name)s: %(message)s",
3030
)
3131

nfc2klipper_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def set_spool_and_filament(spool: int, filament: int) -> None:
198198
set_spool_and_filament.old_spool == spool # type: ignore[attr-defined]
199199
and set_spool_and_filament.old_filament == filament # type: ignore[attr-defined]
200200
):
201-
logger.info("Read same spool & filament")
201+
logger.debug("Read same spool & filament")
202202
return
203203

204204
logger.info("Sending spool #%s, filament #%s to klipper", spool, filament)

0 commit comments

Comments
 (0)