From 5258c1d35e0d5bc90ef993c81d90c811732f0f56 Mon Sep 17 00:00:00 2001 From: das7pad Date: Fri, 16 Jun 2017 12:51:05 +0200 Subject: [PATCH] change to hangups source to das7pads fork this allows version lock faster merges for own pull requests the mentioned issue 142 is fixed in https://github.com/das7pad/hangups/commit/8a19af084fc3c7ab6f55f60c07051cffdf50fa40 --- hangupsbot/hangupsbot.py | 13 ++++++++----- requirements.txt | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/hangupsbot/hangupsbot.py b/hangupsbot/hangupsbot.py index 49ce36e2b..d35b3dec1 100755 --- a/hangupsbot/hangupsbot.py +++ b/hangupsbot/hangupsbot.py @@ -798,15 +798,18 @@ def configure_logging(args): # requests is freakishly noisy "requests": {"level": "INFO"}, - # XXX: suppress erroneous WARNINGs until resolution of - # https://github.com/tdryer/hangups/issues/142 - "hangups": {"level": "ERROR"}, + "hangups": {"level": "WARNING"}, + + # ignore the addition of fallback users + "hangups.user": {"level": "ERROR"}, + + # do not log disconnects twice, we already attach a logger to + # ._client.on_disconnect + "hangups.channel": {"level": "ERROR"}, # asyncio's debugging logs are VERY noisy, so adjust the log level "asyncio": {"level": "WARNING"}, - # hangups log is verbose too, suppress so we can debug the bot - "hangups.conversation": {"level": "ERROR"} } } diff --git a/requirements.txt b/requirements.txt index e7e7589ea..58c2dc9a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # BOT DEPENDENCIES # -git+https://github.com/tdryer/hangups.git +git+https://github.com/das7pad/hangups.git appdirs asyncio aiohttp>=1.3,<2