From b989b720ebd4ac11131230ebd035dda8cc76f2dd Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 4 Sep 2018 07:20:17 +0100 Subject: [PATCH] Debug log raw data --- IRCBot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IRCBot.py b/IRCBot.py index ac1dd6bd..76d6e304 100644 --- a/IRCBot.py +++ b/IRCBot.py @@ -162,6 +162,9 @@ class Bot(object): for line in lines: if self.args.verbose: self.log.info("<%s | %s", [str(server), line]) + else: + self.log.debug("%s (raw) | %s", [str(server), + line]) server.parse_line(line) elif event & select.EPOLLOUT: server._send()