Debug log raw data
This commit is contained in:
parent
dcba6d2c6e
commit
b989b720eb
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue