aboutsummaryrefslogtreecommitdiff
path: root/IRCBot.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-28 17:30:52 +0100
committerGravatar jesopo2018-08-28 17:30:52 +0100
commitab9869aecb31a8ad848e419a68333a2f06e591f4 (patch)
tree70903fad74959a71eeeead1989e29a29784d2533 /IRCBot.py
parentDo throttling based on line count, not byte count (diff)
signature
Change verbose logging to use propper logging system
Diffstat (limited to 'IRCBot.py')
-rw-r--r--IRCBot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IRCBot.py b/IRCBot.py
index 58e1a604..8a863899 100644
--- a/IRCBot.py
+++ b/IRCBot.py
@@ -144,7 +144,7 @@ class Bot(object):
lines = server.read()
for line in lines:
if self.args.verbose:
- print(line)
+ self.log.info("<%s | %s", [str(server), line])
server.parse_line(line)
elif event & select.EPOLLOUT:
server._send()