Skip to content


fix: remove debug logging of sensitive info from keyboard/mouse-liste…
Browse files Browse the repository at this point in the history
…ner (#45)

Ensures that aw-watcher-afk doesn't accidentally leak sensitive data to log files.
  • Loading branch information
whazor committed Dec 10, 2020
1 parent 3389432 commit ccf8770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aw_watcher_afk/
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _reset_data(self):

def tap(self, keycode, character, press):
# logging.debug("Clicked keycode: {}".format(keycode))
self.logger.debug("Input received: {}, {}, {}".format(keycode, character, press))
self.logger.debug("Input received")
self.event_data["presses"] += 1

Expand Down Expand Up @@ -71,7 +71,7 @@ def _reset_data(self):
def click(self, x, y, button, press):
# TODO: Differentiate between leftclick and rightclick?
if press:
self.logger.debug("Clicked mousebutton: {}".format(button))
self.logger.debug("Clicked mousebutton")
self.event_data["clicks"] += 1

Expand Down

0 comments on commit ccf8770

Please sign in to comment.