Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
LKuemmel committed Oct 2, 2024
1 parent 8e0209d commit 3b3f5c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/helpermodules/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def mb_to_bytes(megabytes: int) -> int:

logging.getLogger("pymodbus").setLevel(logging.WARNING)
logging.getLogger("uModbus").setLevel(logging.WARNING)
logging.getLogger("websockets").setLevel(logging.WARNING)

def threading_excepthook(args):
logging.getLogger(__name__).error("Uncaught exception in threading.excepthook:", exc_info=(
Expand Down

0 comments on commit 3b3f5c0

Please sign in to comment.