diff --git a/core/bot.py b/core/bot.py index a1fc554..3b3de69 100644 --- a/core/bot.py +++ b/core/bot.py @@ -31,7 +31,7 @@ def get_logger(): # create a formatter and set the formatter for the handler. frmt = logging.Formatter('%(asctime)s [%(levelname)s] %(message)s') fh.setFormatter(frmt) - simple_frmt = logging.Formatter('[%(levelname)s] %(message)s') + simple_frmt = logging.Formatter('%(message)s') sh.setFormatter(simple_frmt) # add the Handlers to the logger diff --git a/core/irc.py b/core/irc.py index 2708d1c..0f9234f 100755 --- a/core/irc.py +++ b/core/irc.py @@ -104,7 +104,7 @@ class SendThread(threading.Thread): def run(self): while not self.shutdown: line = self.output_queue.get().splitlines()[0][:500] - print u"{}>>> {}".format(self.conn_name, line) + print u"{}> {}".format(self.conn_name, line) self.output_buffer += line.encode('utf-8', 'replace') + '\r\n' while self.output_buffer: sent = self.socket.send(self.output_buffer)