aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-05-23 17:00:26 +0200
committerAnton Khirnov <anton@khirnov.net>2022-05-23 17:00:26 +0200
commitc3e880d4db31eb4e6d7f647a5634bdd53b1ae111 (patch)
treed7bcaaeedd8f3e0ed0389fc901dbd608ad04ab3f
parent647a1cf9b541c31e17a018ec1e9874708d613dca (diff)
uinput_mng: reduce log level of FF effect operations
-rwxr-xr-xuinput_mng6
1 files changed, 3 insertions, 3 deletions
diff --git a/uinput_mng b/uinput_mng
index 2abdbbf..0074d87 100755
--- a/uinput_mng
+++ b/uinput_mng
@@ -116,8 +116,8 @@ class UInputDevice:
if ev.code == ecodes.UI_FF_UPLOAD:
upload = self._dev.begin_upload(ev.value)
- self._logger.info('Effect upload: id %d; type 0x%x direction 0x%x',
- upload.effect.id, upload.effect.type, upload.effect.direction)
+ self._logger.debug('Effect upload: id %d; type 0x%x direction 0x%x',
+ upload.effect.id, upload.effect.type, upload.effect.direction)
try:
self._tgt_devices.upload_effect(upload.effect)
@@ -130,7 +130,7 @@ class UInputDevice:
elif ev.code == ecodes.UI_FF_ERASE:
erase = self._dev.begin_erase(ev.value)
- self._logger.info('Effect erase: %d', erase.effect_id)
+ self._logger.debug('Effect erase: %d', erase.effect_id)
try:
self._tgt_devices.erase_effect(erase.effect_id)