Skip to content

Commit

Permalink
Merge pull request #487 from 10man/devel-10man-logs
Browse files Browse the repository at this point in the history
reduce logging noise under normal operations
  • Loading branch information
jblance authored Apr 18, 2024
2 parents f9434a1 + 5466248 commit 204565b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mppsolar/protocols/abstractprotocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def decode(self, response, command) -> dict:
Take the raw response and turn it into a dict of name: value, unit entries
"""

log.info(f"response passed to decode: {response}")
log.debug(f"response passed to decode: {response}")
msgs = {}

# Add metadata
Expand Down Expand Up @@ -277,7 +277,7 @@ def decode(self, response, command) -> dict:
response_type = command_defn["response_type"]
else:
response_type = "DEFAULT"
log.info(f"Processing response of type {response_type}")
log.debug(f"Processing response of type {response_type}")

# Split the response into individual responses
responses = self.get_responses(response)
Expand Down

0 comments on commit 204565b

Please sign in to comment.