Skip to content

Commit

Permalink
Demote "No handler for xxxx" messages to DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoodle committed Apr 25, 2022
1 parent 123333a commit 6935fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ https://www.gnu.org/licenses/gpl-3.0.html

- Merged fix for negative watercare values (thanks @EiNSTeiN-)
- Demote out-of-range spapack struct enum values to DEBUG and return "Unknown"
- Demote "No handler for xxxx" to DEBUG to declutter log files

## Done/Fixed in 0.4.6

Expand Down
2 changes: 1 addition & 1 deletion src/geckolib/driver/protocol/unhandled.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def consume(self, protocol):
if protocol.queue.is_marked:
data, sender = protocol.queue.head
protocol.queue.pop()
_LOGGER.warning(
_LOGGER.debug(
"No handler for %s from %s found, message ignored", data, sender
)
await asyncio.sleep(GeckoConstants.ASYNCIO_SLEEP_TIMEOUT_FOR_YIELD)

0 comments on commit 6935fe7

Please sign in to comment.